Struct everscale_types::models::account::CurrencyCollection
source · pub struct CurrencyCollection<C: CellFamily> {
pub tokens: Tokens,
pub other: ExtraCurrencyCollection<C>,
}Expand description
Amounts collection.
Fields§
§tokens: TokensAmount in native currency.
other: ExtraCurrencyCollection<C>Amounts in other currencies.
Implementations§
source§impl<C: CellFamily> CurrencyCollection<C>
impl<C: CellFamily> CurrencyCollection<C>
Trait Implementations§
source§impl<C: Clone + CellFamily> Clone for CurrencyCollection<C>
impl<C: Clone + CellFamily> Clone for CurrencyCollection<C>
source§fn clone(&self) -> CurrencyCollection<C>
fn clone(&self) -> CurrencyCollection<C>
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<C: CellFamily> Debug for CurrencyCollection<C>
impl<C: CellFamily> Debug for CurrencyCollection<C>
source§impl<C: Default + CellFamily> Default for CurrencyCollection<C>
impl<C: Default + CellFamily> Default for CurrencyCollection<C>
source§fn default() -> CurrencyCollection<C>
fn default() -> CurrencyCollection<C>
Returns the “default value” for a type. Read more
source§impl<'a, C: CellFamily> Load<'a, C> for CurrencyCollection<C>
impl<'a, C: CellFamily> Load<'a, C> for CurrencyCollection<C>
source§impl<C: PartialEq + CellFamily> PartialEq<CurrencyCollection<C>> for CurrencyCollection<C>
impl<C: PartialEq + CellFamily> PartialEq<CurrencyCollection<C>> for CurrencyCollection<C>
source§fn eq(&self, other: &CurrencyCollection<C>) -> bool
fn eq(&self, other: &CurrencyCollection<C>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<C: CellFamily> Store<C> for CurrencyCollection<C>
impl<C: CellFamily> Store<C> for CurrencyCollection<C>
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.