pub struct AccountCurrency {
pub id: u64,
pub value: u64,
}
Expand description
A currency in an account’s wallet.
Fields§
§id: u64
The id of the currency.
value: u64
The amount of the currency.
Trait Implementations§
Source§impl Clone for AccountCurrency
impl Clone for AccountCurrency
Source§fn clone(&self) -> AccountCurrency
fn clone(&self) -> AccountCurrency
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 AccountCurrency
impl Debug for AccountCurrency
Source§impl<'de> Deserialize<'de> for AccountCurrency
impl<'de> Deserialize<'de> for AccountCurrency
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 AccountCurrency
impl RefUnwindSafe for AccountCurrency
impl Send for AccountCurrency
impl Sync for AccountCurrency
impl Unpin for AccountCurrency
impl UnwindSafe for AccountCurrency
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