Struct flow_sdk::transaction::ProposalKeyE [−][src]
pub struct ProposalKeyE<Address> {
pub address: Address,
pub key_id: u32,
pub sequence_number: u64,
}
Expand description
The proposal key is used to specify a sequence number for the transaction.
Use this type when sending to the network.
Fields
address: Address
Address of proposer account
key_id: u32
ID of proposal key on the proposal account
sequence_number: u64
Sequence number for the proposal key
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
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> RefUnwindSafe for ProposalKeyE<Address> where
Address: RefUnwindSafe,
impl<Address> Send for ProposalKeyE<Address> where
Address: Send,
impl<Address> Sync for ProposalKeyE<Address> where
Address: Sync,
impl<Address> Unpin for ProposalKeyE<Address> where
Address: Unpin,
impl<Address> UnwindSafe for ProposalKeyE<Address> where
Address: 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