pub struct FinalExecutionOutcomeWithReceipts {
pub status: FinalExecutionStatus,
pub transaction: TransactionView,
pub transaction_outcome: ExecutionOutcomeWithId,
pub receipts_outcome: Vec<ExecutionOutcomeWithId>,
pub receipts: Vec<Receipt>,
}Expand description
Final execution outcome with receipts (from EXPERIMENTAL_tx_status).
All fields are required — this type only appears when a transaction has actually been executed.
Fields§
§status: FinalExecutionStatusOverall transaction execution result.
transaction: TransactionViewThe transaction that was executed.
transaction_outcome: ExecutionOutcomeWithIdOutcome of the transaction itself.
receipts_outcome: Vec<ExecutionOutcomeWithId>Outcomes of all receipts spawned by the transaction.
receipts: Vec<Receipt>Full receipt details.
Implementations§
Source§impl FinalExecutionOutcomeWithReceipts
impl FinalExecutionOutcomeWithReceipts
Sourcepub fn is_success(&self) -> bool
pub fn is_success(&self) -> bool
Check if the transaction succeeded.
Sourcepub fn is_failure(&self) -> bool
pub fn is_failure(&self) -> bool
Check if the transaction failed.
Sourcepub fn transaction_hash(&self) -> &CryptoHash
pub fn transaction_hash(&self) -> &CryptoHash
Get the transaction hash.
Trait Implementations§
Source§impl Clone for FinalExecutionOutcomeWithReceipts
impl Clone for FinalExecutionOutcomeWithReceipts
Source§fn clone(&self) -> FinalExecutionOutcomeWithReceipts
fn clone(&self) -> FinalExecutionOutcomeWithReceipts
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for FinalExecutionOutcomeWithReceipts
impl<'de> Deserialize<'de> for FinalExecutionOutcomeWithReceipts
Source§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
Auto Trait Implementations§
impl Freeze for FinalExecutionOutcomeWithReceipts
impl RefUnwindSafe for FinalExecutionOutcomeWithReceipts
impl Send for FinalExecutionOutcomeWithReceipts
impl Sync for FinalExecutionOutcomeWithReceipts
impl Unpin for FinalExecutionOutcomeWithReceipts
impl UnsafeUnpin for FinalExecutionOutcomeWithReceipts
impl UnwindSafe for FinalExecutionOutcomeWithReceipts
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more