Struct flow_sdk::access::ExecuteScriptAtBlockHeightRequest [−][src]
pub struct ExecuteScriptAtBlockHeightRequest<Script, Arguments> {
pub block_height: u64,
pub script: Script,
pub arguments: Arguments,
}
Expand description
Executes a script (maybe with arguments) at a block specified by its height.
Fields
block_height: u64
height 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<Script, Arguments> EncodableMessage for ExecuteScriptAtBlockHeightRequest<Script, Arguments> where
Script: AsRef<[u8]>,
Arguments: HasItem,
<Arguments as HasItem>::Item: Serialize,
for<'a> &'a Arguments: IntoIterator<Item = &'a <Arguments as HasItem>::Item>,
impl<Script, Arguments> EncodableMessage for ExecuteScriptAtBlockHeightRequest<Script, Arguments> where
Script: AsRef<[u8]>,
Arguments: HasItem,
<Arguments as HasItem>::Item: Serialize,
for<'a> &'a Arguments: IntoIterator<Item = &'a <Arguments as HasItem>::Item>,
impl<Script, Arguments> FlowRequest<ExecuteScriptResponse> for ExecuteScriptAtBlockHeightRequest<Script, Arguments>
impl<Script, Arguments> FlowRequest<ExecuteScriptResponse> for ExecuteScriptAtBlockHeightRequest<Script, Arguments>
Auto Trait Implementations
impl<Script, Arguments> RefUnwindSafe for ExecuteScriptAtBlockHeightRequest<Script, Arguments> where
Arguments: RefUnwindSafe,
Script: RefUnwindSafe,
impl<Script, Arguments> Send for ExecuteScriptAtBlockHeightRequest<Script, Arguments> where
Arguments: Send,
Script: Send,
impl<Script, Arguments> Sync for ExecuteScriptAtBlockHeightRequest<Script, Arguments> where
Arguments: Sync,
Script: Sync,
impl<Script, Arguments> Unpin for ExecuteScriptAtBlockHeightRequest<Script, Arguments> where
Arguments: Unpin,
Script: Unpin,
impl<Script, Arguments> UnwindSafe for ExecuteScriptAtBlockHeightRequest<Script, Arguments> where
Arguments: 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