pub struct FinalExecutionOutcomeView {
pub receipts_outcome: Vec<ExecutionOutcomeWithIdView>,
pub status: FinalExecutionStatus,
pub transaction: SignedTransactionView,
pub transaction_outcome: ExecutionOutcomeWithIdView,
}
Expand description
Execution outcome of the transaction and all the subsequent receipts. Could be not finalized yet
JSON schema
{
"description": "Execution outcome of the transaction and all the subsequent receipts.\nCould be not finalized yet",
"type": "object",
"required": [
"receipts_outcome",
"status",
"transaction",
"transaction_outcome"
],
"properties": {
"receipts_outcome": {
"description": "The execution outcome of receipts.",
"type": "array",
"items": {
"$ref": "#/components/schemas/ExecutionOutcomeWithIdView"
}
},
"status": {
"description": "Execution status defined by chain.rs:get_final_transaction_result\nFinalExecutionStatus::NotStarted - the tx is not converted to the receipt yet\nFinalExecutionStatus::Started - we have at least 1 receipt, but the first leaf receipt_id (using dfs) hasn't finished the execution\nFinalExecutionStatus::Failure - the result of the first leaf receipt_id\nFinalExecutionStatus::SuccessValue - the result of the first leaf receipt_id",
"allOf": [
{
"$ref": "#/components/schemas/FinalExecutionStatus"
}
]
},
"transaction": {
"description": "Signed Transaction",
"allOf": [
{
"$ref": "#/components/schemas/SignedTransactionView"
}
]
},
"transaction_outcome": {
"description": "The execution outcome of the signed transaction.",
"allOf": [
{
"$ref": "#/components/schemas/ExecutionOutcomeWithIdView"
}
]
}
}
}
Fields§
§receipts_outcome: Vec<ExecutionOutcomeWithIdView>
The execution outcome of receipts.
status: FinalExecutionStatus
Execution status defined by chain.rs:get_final_transaction_result FinalExecutionStatus::NotStarted - the tx is not converted to the receipt yet FinalExecutionStatus::Started - we have at least 1 receipt, but the first leaf receipt_id (using dfs) hasn’t finished the execution FinalExecutionStatus::Failure - the result of the first leaf receipt_id FinalExecutionStatus::SuccessValue - the result of the first leaf receipt_id
transaction: SignedTransactionView
Signed Transaction
transaction_outcome: ExecutionOutcomeWithIdView
The execution outcome of the signed transaction.
Trait Implementations§
Source§impl Clone for FinalExecutionOutcomeView
impl Clone for FinalExecutionOutcomeView
Source§fn clone(&self) -> FinalExecutionOutcomeView
fn clone(&self) -> FinalExecutionOutcomeView
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 Debug for FinalExecutionOutcomeView
impl Debug for FinalExecutionOutcomeView
Source§impl<'de> Deserialize<'de> for FinalExecutionOutcomeView
impl<'de> Deserialize<'de> for FinalExecutionOutcomeView
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
Source§impl From<&FinalExecutionOutcomeView> for FinalExecutionOutcomeView
impl From<&FinalExecutionOutcomeView> for FinalExecutionOutcomeView
Source§fn from(value: &FinalExecutionOutcomeView) -> Self
fn from(value: &FinalExecutionOutcomeView) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FinalExecutionOutcomeView
impl RefUnwindSafe for FinalExecutionOutcomeView
impl Send for FinalExecutionOutcomeView
impl Sync for FinalExecutionOutcomeView
impl Unpin for FinalExecutionOutcomeView
impl UnwindSafe for FinalExecutionOutcomeView
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