pub struct FinalExecutionOutcomeWithReceiptView {
pub receipts: Vec<ReceiptView>,
pub receipts_outcome: Vec<ExecutionOutcomeWithIdView>,
pub status: FinalExecutionStatus,
pub transaction: SignedTransactionView,
pub transaction_outcome: ExecutionOutcomeWithIdView,
}
Expand description
Final execution outcome of the transaction and all of subsequent the receipts. Also includes the generated receipt.
JSON schema
{
"description": "Final execution outcome of the transaction and all of subsequent the receipts. Also includes\nthe generated receipt.",
"type": "object",
"required": [
"receipts",
"receipts_outcome",
"status",
"transaction",
"transaction_outcome"
],
"properties": {
"receipts": {
"description": "Receipts generated from the transaction",
"type": "array",
"items": {
"$ref": "#/components/schemas/ReceiptView"
}
},
"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: Vec<ReceiptView>
Receipts generated from the transaction
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 FinalExecutionOutcomeWithReceiptView
impl Clone for FinalExecutionOutcomeWithReceiptView
Source§fn clone(&self) -> FinalExecutionOutcomeWithReceiptView
fn clone(&self) -> FinalExecutionOutcomeWithReceiptView
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 FinalExecutionOutcomeWithReceiptView
impl<'de> Deserialize<'de> for FinalExecutionOutcomeWithReceiptView
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<&FinalExecutionOutcomeWithReceiptView> for FinalExecutionOutcomeWithReceiptView
impl From<&FinalExecutionOutcomeWithReceiptView> for FinalExecutionOutcomeWithReceiptView
Source§fn from(value: &FinalExecutionOutcomeWithReceiptView) -> Self
fn from(value: &FinalExecutionOutcomeWithReceiptView) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FinalExecutionOutcomeWithReceiptView
impl RefUnwindSafe for FinalExecutionOutcomeWithReceiptView
impl Send for FinalExecutionOutcomeWithReceiptView
impl Sync for FinalExecutionOutcomeWithReceiptView
impl Unpin for FinalExecutionOutcomeWithReceiptView
impl UnwindSafe for FinalExecutionOutcomeWithReceiptView
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