Struct stdtx::amino::types::StdTx [−][src]
pub struct StdTx { pub msg: Vec<Vec<u8>>, pub fee: Option<StdFee>, pub signatures: Vec<StdSignature>, pub memo: String, }
Expand description
StdTx
Amino type
Fields
msg: Vec<Vec<u8>>
Messages in transaction
fee: Option<StdFee>
Feeds to be paid
signatures: Vec<StdSignature>
Signatures
memo: String
Memo field
Implementations
Create a new StdTx
transaction, serializing the provided messages as Amino
Trait Implementations
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message with a length-delimiter to a buffer. Read more
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
Auto Trait Implementations
impl RefUnwindSafe for StdTx
impl UnwindSafe for StdTx
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self