pub struct SimulationReport {
pub success: bool,
pub balance_changes: Vec<BalanceChange>,
pub approvals: Vec<ApprovalChange>,
pub calls: Vec<CallFrame>,
}Expand description
What the simulation observed. success == false is a revert: denied, not
an error — a revert is an answer about the request, an unavailable
simulator is a control-plane fault.
Fields§
§success: boolWhether the execution succeeded.
balance_changes: Vec<BalanceChange>Every balance change observed.
approvals: Vec<ApprovalChange>Every approval observed.
calls: Vec<CallFrame>The call trace.
Implementations§
Trait Implementations§
Source§impl Clone for SimulationReport
impl Clone for SimulationReport
Source§impl Debug for SimulationReport
impl Debug for SimulationReport
impl Eq for SimulationReport
Source§impl PartialEq for SimulationReport
impl PartialEq for SimulationReport
Source§impl Serialize for SimulationReport
impl Serialize for SimulationReport
impl StructuralPartialEq for SimulationReport
Auto Trait Implementations§
impl Freeze for SimulationReport
impl RefUnwindSafe for SimulationReport
impl Send for SimulationReport
impl Sync for SimulationReport
impl Unpin for SimulationReport
impl UnsafeUnpin for SimulationReport
impl UnwindSafe for SimulationReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.