pub struct WalletBalance {
pub account_type: String,
pub account_l_t_v: Option<String>,
pub account_i_m_rate: Option<String>,
pub account_m_m_rate: Option<String>,
pub total_equity: String,
pub total_wallet_balance: String,
pub total_margin_balance: Option<String>,
pub total_available_balance: String,
pub total_perp_u_p_l: Option<String>,
pub total_initial_margin: Option<String>,
pub total_maintenance_margin: Option<String>,
pub coin: Vec<CoinBalance>,
}Expand description
Wallet balance.
Fields§
§account_type: StringAccount type.
account_l_t_v: Option<String>Account LTV.
account_i_m_rate: Option<String>Account initial margin rate.
account_m_m_rate: Option<String>Account maintenance margin rate.
total_equity: StringTotal equity.
total_wallet_balance: StringTotal wallet balance.
total_margin_balance: Option<String>Total margin balance.
total_available_balance: StringTotal available balance.
total_perp_u_p_l: Option<String>Total perpetual unrealised PnL.
total_initial_margin: Option<String>Total initial margin.
total_maintenance_margin: Option<String>Total maintenance margin.
coin: Vec<CoinBalance>Coin balances.
Trait Implementations§
Source§impl Clone for WalletBalance
impl Clone for WalletBalance
Source§fn clone(&self) -> WalletBalance
fn clone(&self) -> WalletBalance
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 WalletBalance
impl Debug for WalletBalance
Source§impl<'de> Deserialize<'de> for WalletBalance
impl<'de> Deserialize<'de> for WalletBalance
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 WalletBalance
impl RefUnwindSafe for WalletBalance
impl Send for WalletBalance
impl Sync for WalletBalance
impl Unpin for WalletBalance
impl UnwindSafe for WalletBalance
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