Struct everscale_types::models::account::StorageInfo
source · pub struct StorageInfo {
pub used: StorageUsed,
pub last_paid: u32,
pub due_payment: Option<Tokens>,
}Expand description
Storage profile of an account.
Fields§
§used: StorageUsedAmount of unique cells and bits which account state occupies.
last_paid: u32Unix timestamp of the last storage phase.
due_payment: Option<Tokens>Account debt for storing its state.
Trait Implementations§
source§impl Clone for StorageInfo
impl Clone for StorageInfo
source§fn clone(&self) -> StorageInfo
fn clone(&self) -> StorageInfo
Returns a copy 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 StorageInfo
impl Debug for StorageInfo
source§impl Default for StorageInfo
impl Default for StorageInfo
source§fn default() -> StorageInfo
fn default() -> StorageInfo
Returns the “default value” for a type. Read more
source§impl<'tlb, C: CellFamily> Load<'tlb, C> for StorageInfo
impl<'tlb, C: CellFamily> Load<'tlb, C> for StorageInfo
source§impl PartialEq<StorageInfo> for StorageInfo
impl PartialEq<StorageInfo> for StorageInfo
source§fn eq(&self, other: &StorageInfo) -> bool
fn eq(&self, other: &StorageInfo) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<C: CellFamily> Store<C> for StorageInfo
impl<C: CellFamily> Store<C> for StorageInfo
source§fn store_into(
&self,
__builder: &mut CellBuilder<C>,
__finalizer: &mut dyn Finalizer<C>
) -> bool
fn store_into( &self, __builder: &mut CellBuilder<C>, __finalizer: &mut dyn Finalizer<C> ) -> bool
Tries to store itself into the cell builder.