Struct flow_sdk::access::ExecuteScriptAtBlockIdRequest [−][src]
pub struct ExecuteScriptAtBlockIdRequest<BlockId, Script, Arguments> {
pub block_id: BlockId,
pub script: Script,
pub arguments: Arguments,
}
Expand description
Executes a script (maybe with arguments) at a block specified by its block ID.
Fields
block_id: BlockId
id of the block.
script: Script
The script.
arguments: Arguments
The arguments. A collection of ValueRef
s.
Trait Implementations
type Wire = LengthDelimitedWire
returns the size in bytes when encoded, including the field number.
fn encode_field<V>(
&self,
s: &mut ProtobufSerializer<impl BufMut>,
field_number: V
) where
V: VarInt,
fn encode_field<V>(
&self,
s: &mut ProtobufSerializer<impl BufMut>,
field_number: V
) where
V: VarInt,
The entry point to encoding Encodable
s in a message. Read more
unsafe fn encode_field_precomputed(
&self,
s: &mut ProtobufSerializer<impl BufMut>,
field_number: &[u8]
)
unsafe fn encode_field_precomputed(
&self,
s: &mut ProtobufSerializer<impl BufMut>,
field_number: &[u8]
)
Encodes a field using precomputed bytes for the field number and the wire type varint. Read more
impl<BlockId, Script, Arguments> FlowRequest<ExecuteScriptResponse> for ExecuteScriptAtBlockIdRequest<BlockId, Script, Arguments>
impl<BlockId, Script, Arguments> FlowRequest<ExecuteScriptResponse> for ExecuteScriptAtBlockIdRequest<BlockId, Script, Arguments>
Auto Trait Implementations
impl<BlockId, Script, Arguments> RefUnwindSafe for ExecuteScriptAtBlockIdRequest<BlockId, Script, Arguments> where
Arguments: RefUnwindSafe,
BlockId: RefUnwindSafe,
Script: RefUnwindSafe,
impl<BlockId, Script, Arguments> Send for ExecuteScriptAtBlockIdRequest<BlockId, Script, Arguments> where
Arguments: Send,
BlockId: Send,
Script: Send,
impl<BlockId, Script, Arguments> Sync for ExecuteScriptAtBlockIdRequest<BlockId, Script, Arguments> where
Arguments: Sync,
BlockId: Sync,
Script: Sync,
impl<BlockId, Script, Arguments> Unpin for ExecuteScriptAtBlockIdRequest<BlockId, Script, Arguments> where
Arguments: Unpin,
BlockId: Unpin,
Script: Unpin,
impl<BlockId, Script, Arguments> UnwindSafe for ExecuteScriptAtBlockIdRequest<BlockId, Script, Arguments> where
Arguments: UnwindSafe,
BlockId: UnwindSafe,
Script: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more