pub struct CurrencyState {
pub flags: u16,
pub version: u16,
pub currencyid: Address,
pub reservecurrencies: Option<Vec<ReserveCurrency>>,
pub initialsupply: Amount,
pub emitted: Amount,
pub supply: Amount,
}
Fields§
§flags: u16
§version: u16
§currencyid: Address
§reservecurrencies: Option<Vec<ReserveCurrency>>
§initialsupply: Amount
§emitted: Amount
§supply: Amount
Trait Implementations§
Source§impl Clone for CurrencyState
impl Clone for CurrencyState
Source§fn clone(&self) -> CurrencyState
fn clone(&self) -> CurrencyState
Returns a duplicate 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 CurrencyState
impl Debug for CurrencyState
Source§impl<'de> Deserialize<'de> for CurrencyState
impl<'de> Deserialize<'de> for CurrencyState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CurrencyState
impl RefUnwindSafe for CurrencyState
impl Send for CurrencyState
impl Sync for CurrencyState
impl Unpin for CurrencyState
impl UnwindSafe for CurrencyState
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