pub struct ActionPhase {Show 14 fields
pub success: bool,
pub valid: bool,
pub no_funds: bool,
pub status_change: AccountStatusChange,
pub total_fwd_fees: Option<Tokens>,
pub total_action_fees: Option<Tokens>,
pub result_code: i32,
pub result_arg: Option<i32>,
pub total_actions: u16,
pub special_actions: u16,
pub skipped_actions: u16,
pub messages_created: u16,
pub action_list_hash: HashBytes,
pub total_message_size: StorageUsedShort,
}Expand description
Action phase info.
At this phase the list of actions from the compute phase is converted into updates and outgoing messages.
Fields§
§success: boolWhether the execution was successful.
valid: boolWhether the action list was valid.
no_funds: boolThere were no funds to create an outgoing message.
status_change: AccountStatusChangeAccount status change during execution of this phase.
total_fwd_fees: Option<Tokens>Total forwarding fee for outgoing messages.
total_action_fees: Option<Tokens>Total fees for processing all actions.
result_code: i32Result code of the phase.
result_arg: Option<i32>Optional result argument of the phase.
total_actions: u16The total number of processed actions.
special_actions: u16The number of special actions (ReserveCurrency, SetCode, ChangeLibrary).
skipped_actions: u16The number of skipped actions.
messages_created: u16The number of outgoing messages created by the compute phase.
action_list_hash: HashBytesThe hash of the actions list.
total_message_size: StorageUsedShortThe total number of unique cells (bits / refs) of produced messages.
Trait Implementations§
Source§impl Clone for ActionPhase
impl Clone for ActionPhase
Source§fn clone(&self) -> ActionPhase
fn clone(&self) -> ActionPhase
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 ActionPhase
impl Debug for ActionPhase
Source§impl<'de> Deserialize<'de> for ActionPhase
impl<'de> Deserialize<'de> for ActionPhase
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<'a> Load<'a> for ActionPhase
impl<'a> Load<'a> for ActionPhase
Source§impl PartialEq for ActionPhase
impl PartialEq for ActionPhase
Source§impl Serialize for ActionPhase
impl Serialize for ActionPhase
Source§impl Store for ActionPhase
impl Store for ActionPhase
Source§fn store_into(
&self,
builder: &mut CellBuilder,
context: &dyn CellContext,
) -> Result<(), Error>
fn store_into( &self, builder: &mut CellBuilder, context: &dyn CellContext, ) -> Result<(), Error>
Tries to store itself into the cell builder.
impl Eq for ActionPhase
impl StructuralPartialEq for ActionPhase
Auto Trait Implementations§
impl Freeze for ActionPhase
impl RefUnwindSafe for ActionPhase
impl Send for ActionPhase
impl Sync for ActionPhase
impl Unpin for ActionPhase
impl UnwindSafe for ActionPhase
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self to key and returns true if they are equal.