Enum diem_rest_client::Transaction [−][src]
pub enum Transaction {
PendingTransaction(PendingTransaction),
UserTransaction(Box<UserTransaction, Global>),
GenesisTransaction(GenesisTransaction),
BlockMetadataTransaction(BlockMetadataTransaction),
StateCheckpointTransaction(StateCheckpointTransaction),
}Variants
PendingTransaction(PendingTransaction)Tuple Fields of PendingTransaction
UserTransaction(Box<UserTransaction, Global>)Tuple Fields of UserTransaction
0: Box<UserTransaction, Global>GenesisTransaction(GenesisTransaction)Tuple Fields of GenesisTransaction
BlockMetadataTransaction(BlockMetadataTransaction)Tuple Fields of BlockMetadataTransaction
Implementations
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<Transaction, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<Transaction, <__D as Deserializer<'de>>::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
pub fn from(
(&SignedTransaction, TransactionInfo, TransactionPayload, Vec<Event, Global>, u64)
) -> Transaction
pub fn from(
(&SignedTransaction, TransactionInfo, TransactionPayload, Vec<Event, Global>, u64)
) -> Transaction
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 !=.
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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.