Struct everscale_types::models::account::StorageUsed
source · pub struct StorageUsed {
pub cells: VarUint56,
pub bits: VarUint56,
pub public_cells: VarUint56,
}Expand description
Amount of unique cells and bits for shard states.
Fields§
§cells: VarUint56Amount of unique cells.
bits: VarUint56The total number of bits in unique cells.
public_cells: VarUint56The number of public libraries in the state.
Implementations§
source§impl StorageUsed
impl StorageUsed
Trait Implementations§
source§impl Clone for StorageUsed
impl Clone for StorageUsed
source§fn clone(&self) -> StorageUsed
fn clone(&self) -> StorageUsed
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 StorageUsed
impl Debug for StorageUsed
source§impl Default for StorageUsed
impl Default for StorageUsed
source§fn default() -> StorageUsed
fn default() -> StorageUsed
Returns the “default value” for a type. Read more
source§impl<'tlb, C: CellFamily> Load<'tlb, C> for StorageUsed
impl<'tlb, C: CellFamily> Load<'tlb, C> for StorageUsed
source§impl PartialEq<StorageUsed> for StorageUsed
impl PartialEq<StorageUsed> for StorageUsed
source§fn eq(&self, other: &StorageUsed) -> bool
fn eq(&self, other: &StorageUsed) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<C: CellFamily> Store<C> for StorageUsed
impl<C: CellFamily> Store<C> for StorageUsed
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.