pub struct WalletRecord {
pub account_type: String,
pub total_equity: Decimal,
pub coin: Vec<CoinBalance>,
}Expand description
A wallet: /v5/account/wallet-balance and the wallet stream.
Fields§
§account_type: StringUNIFIED.
total_equity: DecimalThe equity of the whole account in USD.
coin: Vec<CoinBalance>The coins.
Trait Implementations§
Source§impl Clone for WalletRecord
impl Clone for WalletRecord
Source§fn clone(&self) -> WalletRecord
fn clone(&self) -> WalletRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WalletRecord
impl Debug for WalletRecord
Source§impl<'de> Deserialize<'de> for WalletRecord
impl<'de> Deserialize<'de> for WalletRecord
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 WalletRecord
impl RefUnwindSafe for WalletRecord
impl Send for WalletRecord
impl Sync for WalletRecord
impl Unpin for WalletRecord
impl UnsafeUnpin for WalletRecord
impl UnwindSafe for WalletRecord
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