Struct flow_sdk::access::SendTransactionRequest [−][src]
pub struct SendTransactionRequest<Script, Arguments, ReferenceBlockId, ProposalKeyAddress, Payer, Authorizers, PayloadSignatures, EnvelopeSignatures> {
pub transaction: TransactionE<Script, Arguments, ReferenceBlockId, ProposalKeyAddress, Payer, Authorizers, PayloadSignatures, EnvelopeSignatures>,
}
Expand description
Sends a transaction over the network.
Fields
transaction: TransactionE<Script, Arguments, ReferenceBlockId, ProposalKeyAddress, Payer, Authorizers, PayloadSignatures, EnvelopeSignatures>
The transaction to be sent.
Trait Implementations
impl<PayloadSignatureAddress, PayloadSignature, EnvelopeSignatureAddress, EnvelopeSignature, Script, Arguments, ReferenceBlockId, ProposalKeyAddress, Payer, Authorizers, PayloadSignatures, EnvelopeSignatures> Encodable for SendTransactionRequest<Script, Arguments, ReferenceBlockId, ProposalKeyAddress, Payer, Authorizers, PayloadSignatures, EnvelopeSignatures> where
Script: AsRef<[u8]>,
ReferenceBlockId: AsRef<[u8]>,
Payer: AsRef<[u8]>,
ProposalKeyAddress: AsRef<[u8]>,
PayloadSignatureAddress: AsRef<[u8]>,
PayloadSignature: AsRef<[u8]>,
EnvelopeSignatureAddress: AsRef<[u8]>,
EnvelopeSignature: AsRef<[u8]>,
Arguments: HasItem,
<Arguments as HasItem>::Item: AsRef<[u8]>,
for<'a> &'a Arguments: IntoIterator<Item = &'a <Arguments as HasItem>::Item>,
Authorizers: HasItem,
<Authorizers as HasItem>::Item: AsRef<[u8]>,
for<'a> &'a Authorizers: IntoIterator<Item = &'a <Authorizers as HasItem>::Item>,
PayloadSignatures: HasItem<Item = SignatureE<PayloadSignatureAddress, PayloadSignature>>,
for<'a> &'a PayloadSignatures: IntoIterator<Item = &'a SignatureE<PayloadSignatureAddress, PayloadSignature>>,
EnvelopeSignatures: HasItem<Item = SignatureE<EnvelopeSignatureAddress, EnvelopeSignature>>,
for<'a> &'a EnvelopeSignatures: IntoIterator<Item = &'a SignatureE<EnvelopeSignatureAddress, EnvelopeSignature>>,
impl<PayloadSignatureAddress, PayloadSignature, EnvelopeSignatureAddress, EnvelopeSignature, Script, Arguments, ReferenceBlockId, ProposalKeyAddress, Payer, Authorizers, PayloadSignatures, EnvelopeSignatures> Encodable for SendTransactionRequest<Script, Arguments, ReferenceBlockId, ProposalKeyAddress, Payer, Authorizers, PayloadSignatures, EnvelopeSignatures> where
Script: AsRef<[u8]>,
ReferenceBlockId: AsRef<[u8]>,
Payer: AsRef<[u8]>,
ProposalKeyAddress: AsRef<[u8]>,
PayloadSignatureAddress: AsRef<[u8]>,
PayloadSignature: AsRef<[u8]>,
EnvelopeSignatureAddress: AsRef<[u8]>,
EnvelopeSignature: AsRef<[u8]>,
Arguments: HasItem,
<Arguments as HasItem>::Item: AsRef<[u8]>,
for<'a> &'a Arguments: IntoIterator<Item = &'a <Arguments as HasItem>::Item>,
Authorizers: HasItem,
<Authorizers as HasItem>::Item: AsRef<[u8]>,
for<'a> &'a Authorizers: IntoIterator<Item = &'a <Authorizers as HasItem>::Item>,
PayloadSignatures: HasItem<Item = SignatureE<PayloadSignatureAddress, PayloadSignature>>,
for<'a> &'a PayloadSignatures: IntoIterator<Item = &'a SignatureE<PayloadSignatureAddress, PayloadSignature>>,
EnvelopeSignatures: HasItem<Item = SignatureE<EnvelopeSignatureAddress, EnvelopeSignature>>,
for<'a> &'a EnvelopeSignatures: IntoIterator<Item = &'a SignatureE<EnvelopeSignatureAddress, EnvelopeSignature>>,
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<PayloadSignatureAddress, PayloadSignature, EnvelopeSignatureAddress, EnvelopeSignature, Script, Arguments, ReferenceBlockId, ProposalKeyAddress, Payer, Authorizers, PayloadSignatures, EnvelopeSignatures> EncodableMessage for SendTransactionRequest<Script, Arguments, ReferenceBlockId, ProposalKeyAddress, Payer, Authorizers, PayloadSignatures, EnvelopeSignatures> where
Script: AsRef<[u8]>,
ReferenceBlockId: AsRef<[u8]>,
Payer: AsRef<[u8]>,
ProposalKeyAddress: AsRef<[u8]>,
PayloadSignatureAddress: AsRef<[u8]>,
PayloadSignature: AsRef<[u8]>,
EnvelopeSignatureAddress: AsRef<[u8]>,
EnvelopeSignature: AsRef<[u8]>,
Arguments: HasItem,
<Arguments as HasItem>::Item: AsRef<[u8]>,
for<'a> &'a Arguments: IntoIterator<Item = &'a <Arguments as HasItem>::Item>,
Authorizers: HasItem,
<Authorizers as HasItem>::Item: AsRef<[u8]>,
for<'a> &'a Authorizers: IntoIterator<Item = &'a <Authorizers as HasItem>::Item>,
PayloadSignatures: HasItem<Item = SignatureE<PayloadSignatureAddress, PayloadSignature>>,
for<'a> &'a PayloadSignatures: IntoIterator<Item = &'a SignatureE<PayloadSignatureAddress, PayloadSignature>>,
EnvelopeSignatures: HasItem<Item = SignatureE<EnvelopeSignatureAddress, EnvelopeSignature>>,
for<'a> &'a EnvelopeSignatures: IntoIterator<Item = &'a SignatureE<EnvelopeSignatureAddress, EnvelopeSignature>>,
impl<PayloadSignatureAddress, PayloadSignature, EnvelopeSignatureAddress, EnvelopeSignature, Script, Arguments, ReferenceBlockId, ProposalKeyAddress, Payer, Authorizers, PayloadSignatures, EnvelopeSignatures> EncodableMessage for SendTransactionRequest<Script, Arguments, ReferenceBlockId, ProposalKeyAddress, Payer, Authorizers, PayloadSignatures, EnvelopeSignatures> where
Script: AsRef<[u8]>,
ReferenceBlockId: AsRef<[u8]>,
Payer: AsRef<[u8]>,
ProposalKeyAddress: AsRef<[u8]>,
PayloadSignatureAddress: AsRef<[u8]>,
PayloadSignature: AsRef<[u8]>,
EnvelopeSignatureAddress: AsRef<[u8]>,
EnvelopeSignature: AsRef<[u8]>,
Arguments: HasItem,
<Arguments as HasItem>::Item: AsRef<[u8]>,
for<'a> &'a Arguments: IntoIterator<Item = &'a <Arguments as HasItem>::Item>,
Authorizers: HasItem,
<Authorizers as HasItem>::Item: AsRef<[u8]>,
for<'a> &'a Authorizers: IntoIterator<Item = &'a <Authorizers as HasItem>::Item>,
PayloadSignatures: HasItem<Item = SignatureE<PayloadSignatureAddress, PayloadSignature>>,
for<'a> &'a PayloadSignatures: IntoIterator<Item = &'a SignatureE<PayloadSignatureAddress, PayloadSignature>>,
EnvelopeSignatures: HasItem<Item = SignatureE<EnvelopeSignatureAddress, EnvelopeSignature>>,
for<'a> &'a EnvelopeSignatures: IntoIterator<Item = &'a SignatureE<EnvelopeSignatureAddress, EnvelopeSignature>>,
impl<Script, Arguments, ReferenceBlockId, ProposalKeyAddress, Payer, Authorizers, PayloadSignatures, EnvelopeSignatures> FlowRequest<SendTransactionResponse> for SendTransactionRequest<Script, Arguments, ReferenceBlockId, ProposalKeyAddress, Payer, Authorizers, PayloadSignatures, EnvelopeSignatures>
impl<Script, Arguments, ReferenceBlockId, ProposalKeyAddress, Payer, Authorizers, PayloadSignatures, EnvelopeSignatures> FlowRequest<SendTransactionResponse> for SendTransactionRequest<Script, Arguments, ReferenceBlockId, ProposalKeyAddress, Payer, Authorizers, PayloadSignatures, EnvelopeSignatures>
Auto Trait Implementations
impl<Script, Arguments, ReferenceBlockId, ProposalKeyAddress, Payer, Authorizers, PayloadSignatures, EnvelopeSignatures> RefUnwindSafe for SendTransactionRequest<Script, Arguments, ReferenceBlockId, ProposalKeyAddress, Payer, Authorizers, PayloadSignatures, EnvelopeSignatures> where
Arguments: RefUnwindSafe,
Authorizers: RefUnwindSafe,
EnvelopeSignatures: RefUnwindSafe,
Payer: RefUnwindSafe,
PayloadSignatures: RefUnwindSafe,
ProposalKeyAddress: RefUnwindSafe,
ReferenceBlockId: RefUnwindSafe,
Script: RefUnwindSafe,
impl<Script, Arguments, ReferenceBlockId, ProposalKeyAddress, Payer, Authorizers, PayloadSignatures, EnvelopeSignatures> Send for SendTransactionRequest<Script, Arguments, ReferenceBlockId, ProposalKeyAddress, Payer, Authorizers, PayloadSignatures, EnvelopeSignatures> where
Arguments: Send,
Authorizers: Send,
EnvelopeSignatures: Send,
Payer: Send,
PayloadSignatures: Send,
ProposalKeyAddress: Send,
ReferenceBlockId: Send,
Script: Send,
impl<Script, Arguments, ReferenceBlockId, ProposalKeyAddress, Payer, Authorizers, PayloadSignatures, EnvelopeSignatures> Sync for SendTransactionRequest<Script, Arguments, ReferenceBlockId, ProposalKeyAddress, Payer, Authorizers, PayloadSignatures, EnvelopeSignatures> where
Arguments: Sync,
Authorizers: Sync,
EnvelopeSignatures: Sync,
Payer: Sync,
PayloadSignatures: Sync,
ProposalKeyAddress: Sync,
ReferenceBlockId: Sync,
Script: Sync,
impl<Script, Arguments, ReferenceBlockId, ProposalKeyAddress, Payer, Authorizers, PayloadSignatures, EnvelopeSignatures> Unpin for SendTransactionRequest<Script, Arguments, ReferenceBlockId, ProposalKeyAddress, Payer, Authorizers, PayloadSignatures, EnvelopeSignatures> where
Arguments: Unpin,
Authorizers: Unpin,
EnvelopeSignatures: Unpin,
Payer: Unpin,
PayloadSignatures: Unpin,
ProposalKeyAddress: Unpin,
ReferenceBlockId: Unpin,
Script: Unpin,
impl<Script, Arguments, ReferenceBlockId, ProposalKeyAddress, Payer, Authorizers, PayloadSignatures, EnvelopeSignatures> UnwindSafe for SendTransactionRequest<Script, Arguments, ReferenceBlockId, ProposalKeyAddress, Payer, Authorizers, PayloadSignatures, EnvelopeSignatures> where
Arguments: UnwindSafe,
Authorizers: UnwindSafe,
EnvelopeSignatures: UnwindSafe,
Payer: UnwindSafe,
PayloadSignatures: UnwindSafe,
ProposalKeyAddress: UnwindSafe,
ReferenceBlockId: 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