Struct everscale_types::models::config::StoragePrices
source · pub struct StoragePrices {
pub utime_since: u32,
pub bit_price_ps: u64,
pub cell_price_ps: u64,
pub mc_bit_price_ps: u64,
pub mc_cell_price_ps: u64,
}Expand description
Storage prices for some interval.
Fields§
§utime_since: u32Unix timestamp since which this prices are used.
bit_price_ps: u64Bit price in base workchain.
cell_price_ps: u64Cell price in base workchain.
mc_bit_price_ps: u64Bit price in masterchain.
mc_cell_price_ps: u64Cell price in masterchain.
Trait Implementations§
source§impl Clone for StoragePrices
impl Clone for StoragePrices
source§fn clone(&self) -> StoragePrices
fn clone(&self) -> StoragePrices
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 StoragePrices
impl Debug for StoragePrices
source§impl<'tlb> Load<'tlb> for StoragePrices
impl<'tlb> Load<'tlb> for StoragePrices
source§impl PartialEq<StoragePrices> for StoragePrices
impl PartialEq<StoragePrices> for StoragePrices
source§fn eq(&self, other: &StoragePrices) -> bool
fn eq(&self, other: &StoragePrices) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Store for StoragePrices
impl Store for StoragePrices
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 Copy for StoragePrices
impl Eq for StoragePrices
impl StructuralEq for StoragePrices
impl StructuralPartialEq for StoragePrices
Auto Trait Implementations§
impl RefUnwindSafe for StoragePrices
impl Send for StoragePrices
impl Sync for StoragePrices
impl Unpin for StoragePrices
impl UnwindSafe for StoragePrices
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