Enum diem_api_types::Transaction [−][src]
pub enum Transaction {
PendingTransaction(PendingTransaction),
UserTransaction(Box<UserTransaction>),
GenesisTransaction(GenesisTransaction),
BlockMetadataTransaction(BlockMetadataTransaction),
StateCheckpointTransaction(StateCheckpointTransaction),
}Variants
PendingTransaction(PendingTransaction)Tuple Fields of PendingTransaction
UserTransaction(Box<UserTransaction>)Tuple Fields of UserTransaction
0: Box<UserTransaction>GenesisTransaction(GenesisTransaction)Tuple Fields of GenesisTransaction
BlockMetadataTransaction(BlockMetadataTransaction)Tuple Fields of BlockMetadataTransaction
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
impl From<(&'_ SignedTransaction, TransactionInfo, TransactionPayload, Vec<Event, Global>, u64)> for Transaction
impl From<(&'_ SignedTransaction, TransactionInfo, TransactionPayload, Vec<Event, Global>, u64)> for Transaction
fn from(
(txn, info, payload, events, timestamp): (&SignedTransaction, TransactionInfo, TransactionPayload, Vec<Event>, u64)
) -> Self
fn from(
(txn, info, payload, events, timestamp): (&SignedTransaction, TransactionInfo, TransactionPayload, Vec<Event>, u64)
) -> Self
Performs the conversion.
Performs the conversion.
Performs the conversion.
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 RefUnwindSafe for Transaction
impl Send for Transaction
impl Sync for Transaction
impl Unpin for Transaction
impl UnwindSafe for Transaction
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self
Generates a hash used only for tests.