pub struct ExecutionOutcome {
pub executor_id: AccountId,
pub gas_burnt: Gas,
pub tokens_burnt: NearToken,
pub logs: Vec<String>,
pub receipt_ids: Vec<CryptoHash>,
pub status: ExecutionStatus,
pub metadata: Option<ExecutionMetadata>,
}Expand description
Execution outcome details.
Fields§
§executor_id: AccountIdExecutor account.
gas_burnt: GasGas burnt during execution.
tokens_burnt: NearTokenTokens burnt for gas.
logs: Vec<String>Logs emitted.
receipt_ids: Vec<CryptoHash>Receipt IDs generated.
status: ExecutionStatusExecution status.
metadata: Option<ExecutionMetadata>Execution metadata (gas profiling).
Trait Implementations§
Source§impl Clone for ExecutionOutcome
impl Clone for ExecutionOutcome
Source§fn clone(&self) -> ExecutionOutcome
fn clone(&self) -> ExecutionOutcome
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 ExecutionOutcome
impl Debug for ExecutionOutcome
Source§impl<'de> Deserialize<'de> for ExecutionOutcome
impl<'de> Deserialize<'de> for ExecutionOutcome
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 ExecutionOutcome
impl RefUnwindSafe for ExecutionOutcome
impl Send for ExecutionOutcome
impl Sync for ExecutionOutcome
impl Unpin for ExecutionOutcome
impl UnsafeUnpin for ExecutionOutcome
impl UnwindSafe for ExecutionOutcome
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