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> Load<'tlb> for StorageUsed
impl<'tlb> Load<'tlb> 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 Store for StorageUsed
impl Store for StorageUsed
source§fn store_into(
&self,
__builder: &mut CellBuilder,
__finalizer: &mut dyn Finalizer
) -> Result<(), Error>
fn store_into( &self, __builder: &mut CellBuilder, __finalizer: &mut dyn Finalizer ) -> Result<(), Error>
Tries to store itself into the cell builder.
impl Eq for StorageUsed
impl StructuralEq for StorageUsed
impl StructuralPartialEq for StorageUsed
Auto Trait Implementations§
impl RefUnwindSafe for StorageUsed
impl Send for StorageUsed
impl Sync for StorageUsed
impl Unpin for StorageUsed
impl UnwindSafe for StorageUsed
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