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.\n Could 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\n FinalExecutionStatus::NotStarted - the tx is not converted to the receipt yet\n FinalExecutionStatus::Started - we have at least 1 receipt, but the first leaf receipt_id (using dfs) hasn't finished the execution\n FinalExecutionStatus::Failure - the result of the first leaf receipt_id\n FinalExecutionStatus::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: FinalExecutionStatusExecution 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: SignedTransactionViewSigned Transaction
transaction_outcome: ExecutionOutcomeWithIdViewThe 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§const fn clone_from(&mut self, source: &Self)
const 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<FinalExecutionOutcomeView, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FinalExecutionOutcomeView, <__D as Deserializer<'de>>::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) -> FinalExecutionOutcomeView
fn from(value: &FinalExecutionOutcomeView) -> FinalExecutionOutcomeView
Converts to this type from the input type.
Source§impl Serialize for FinalExecutionOutcomeView
impl Serialize for FinalExecutionOutcomeView
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
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 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