Struct diem_operational_tool::TransactionContext [−][src]
pub struct TransactionContext {
pub address: AccountAddress,
pub sequence_number: u64,
pub execution_result: Option<VMStatusView>,
}Expand description
Information for validating a transaction after it’s been submitted, or retrieving the execution result.
Fields
address: AccountAddresssequence_number: u64execution_result: Option<VMStatusView>Implementations
pub fn new_with_validation(
address: AccountAddress,
sequence_number: u64,
execution_result: Option<VMStatusView>
) -> TransactionContext
Trait Implementations
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 TransactionContext
impl Send for TransactionContext
impl Sync for TransactionContext
impl Unpin for TransactionContext
impl UnwindSafe for TransactionContext
Blanket Implementations
Mutably borrows from an owned value. 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.