Struct flow_sdk::transaction::SignatureE [−][src]
pub struct SignatureE<Address, Signature> {
pub address: Address,
pub key_id: u32,
pub signature: Signature,
}
Expand description
Signature of a transaction.
Use this type when sending this over the network.
Fields
address: Address
Address of the account that signed.
key_id: u32
The key id number of the key of the account that signed.
signature: Signature
The signature.
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<Address: PartialEq, Signature: PartialEq> PartialEq<SignatureE<Address, Signature>> for SignatureE<Address, Signature>
impl<Address: PartialEq, Signature: PartialEq> PartialEq<SignatureE<Address, Signature>> for SignatureE<Address, Signature>
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<Address, Signature> RefUnwindSafe for SignatureE<Address, Signature> where
Address: RefUnwindSafe,
Signature: RefUnwindSafe,
impl<Address, Signature> Send for SignatureE<Address, Signature> where
Address: Send,
Signature: Send,
impl<Address, Signature> Sync for SignatureE<Address, Signature> where
Address: Sync,
Signature: Sync,
impl<Address, Signature> Unpin for SignatureE<Address, Signature> where
Address: Unpin,
Signature: Unpin,
impl<Address, Signature> UnwindSafe for SignatureE<Address, Signature> where
Address: UnwindSafe,
Signature: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
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