pub struct ActionPhaseContext<'a, 'e> {
pub received_message: Option<&'a mut ReceivedMessage>,
pub original_balance: CurrencyCollection,
pub new_state: StateInit,
pub actions: Cell,
pub compute_phase: &'a ExecutedComputePhase,
pub inspector: Option<&'a mut ExecutorInspector<'e>>,
}Expand description
Action phase input context.
Fields§
§received_message: Option<&'a mut ReceivedMessage>Received message (external or internal).
original_balance: CurrencyCollectionOriginal account balance before the compute phase.
new_state: StateInitNew account state to apply.
actions: CellActions list.
compute_phase: &'a ExecutedComputePhaseSuccessfully executed compute phase.
inspector: Option<&'a mut ExecutorInspector<'e>>Executor inspector.
Auto Trait Implementations§
impl<'a, 'e> Freeze for ActionPhaseContext<'a, 'e>
impl<'a, 'e> !RefUnwindSafe for ActionPhaseContext<'a, 'e>
impl<'a, 'e> !Send for ActionPhaseContext<'a, 'e>
impl<'a, 'e> !Sync for ActionPhaseContext<'a, 'e>
impl<'a, 'e> Unpin for ActionPhaseContext<'a, 'e>
impl<'a, 'e> !UnwindSafe for ActionPhaseContext<'a, 'e>
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