pub struct StoragePhase {
pub storage_fees_collected: Tokens,
pub storage_fees_due: Option<Tokens>,
pub status_change: AccountStatusChange,
}Expand description
Storage phase info.
At this phase account pays for storing its state.
Fields§
§storage_fees_collected: TokensAmount of tokens collected for storing this contract for some time.
storage_fees_due: Option<Tokens>Amount of tokens which this account owes to the network (if there was not enough balance to pay storage fee).
status_change: AccountStatusChangeAccount status change during execution of this phase.
Trait Implementations§
Source§impl Clone for StoragePhase
impl Clone for StoragePhase
Source§fn clone(&self) -> StoragePhase
fn clone(&self) -> StoragePhase
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 StoragePhase
impl Debug for StoragePhase
Source§impl<'de> Deserialize<'de> for StoragePhase
impl<'de> Deserialize<'de> for StoragePhase
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<'tlb> Load<'tlb> for StoragePhase
impl<'tlb> Load<'tlb> for StoragePhase
Source§impl PartialEq for StoragePhase
impl PartialEq for StoragePhase
Source§impl Serialize for StoragePhase
impl Serialize for StoragePhase
Source§impl Store for StoragePhase
impl Store for StoragePhase
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 StoragePhase
impl StructuralPartialEq for StoragePhase
Auto Trait Implementations§
impl Freeze for StoragePhase
impl RefUnwindSafe for StoragePhase
impl Send for StoragePhase
impl Sync for StoragePhase
impl Unpin for StoragePhase
impl UnwindSafe for StoragePhase
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.