Struct everscale_types::models::currency::CurrencyCollection
source · pub struct CurrencyCollection {
pub tokens: Tokens,
pub other: ExtraCurrencyCollection,
}Expand description
Amounts collection.
Fields§
§tokens: TokensAmount in native currency.
other: ExtraCurrencyCollectionAmounts in other currencies.
Implementations§
Trait Implementations§
source§impl Clone for CurrencyCollection
impl Clone for CurrencyCollection
source§fn clone(&self) -> CurrencyCollection
fn clone(&self) -> CurrencyCollection
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 CurrencyCollection
impl Debug for CurrencyCollection
source§impl Default for CurrencyCollection
impl Default for CurrencyCollection
source§impl<'tlb> Load<'tlb> for CurrencyCollection
impl<'tlb> Load<'tlb> for CurrencyCollection
source§impl PartialEq<CurrencyCollection> for CurrencyCollection
impl PartialEq<CurrencyCollection> for CurrencyCollection
source§fn eq(&self, other: &CurrencyCollection) -> bool
fn eq(&self, other: &CurrencyCollection) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Store for CurrencyCollection
impl Store for CurrencyCollection
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 CurrencyCollection
impl StructuralEq for CurrencyCollection
impl StructuralPartialEq for CurrencyCollection
Auto Trait Implementations§
impl !RefUnwindSafe for CurrencyCollection
impl Send for CurrencyCollection
impl Sync for CurrencyCollection
impl Unpin for CurrencyCollection
impl !UnwindSafe for CurrencyCollection
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