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