Struct flow_sdk::access::ExecuteScriptAtLatestBlockRequest [−][src]
pub struct ExecuteScriptAtLatestBlockRequest<Script, Arguments> {
pub script: Script,
pub arguments: Arguments,
}
Expand description
Executes a script (maybe with arguments) at the latest block.
Fields
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 ExecuteScriptAtLatestBlockRequest<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 ExecuteScriptAtLatestBlockRequest<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 ExecuteScriptAtLatestBlockRequest<Script, Arguments>
impl<Script, Arguments> FlowRequest<ExecuteScriptResponse> for ExecuteScriptAtLatestBlockRequest<Script, Arguments>
Auto Trait Implementations
impl<Script, Arguments> RefUnwindSafe for ExecuteScriptAtLatestBlockRequest<Script, Arguments> where
Arguments: RefUnwindSafe,
Script: RefUnwindSafe,
impl<Script, Arguments> Send for ExecuteScriptAtLatestBlockRequest<Script, Arguments> where
Arguments: Send,
Script: Send,
impl<Script, Arguments> Sync for ExecuteScriptAtLatestBlockRequest<Script, Arguments> where
Arguments: Sync,
Script: Sync,
impl<Script, Arguments> Unpin for ExecuteScriptAtLatestBlockRequest<Script, Arguments> where
Arguments: Unpin,
Script: Unpin,
impl<Script, Arguments> UnwindSafe for ExecuteScriptAtLatestBlockRequest<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