#[non_exhaustive]pub struct SubAccountTradingBalance {
pub details: Vec<SubAccountTradingBalanceDetail>,
pub adj_eq: NumberString,
pub avail_eq: NumberString,
pub total_eq: NumberString,
pub imr: NumberString,
pub mmr: NumberString,
pub mgn_ratio: NumberString,
pub iso_eq: NumberString,
pub ord_froz: NumberString,
pub notional_usd: NumberString,
pub upl: NumberString,
pub u_time: NumberString,
}Expand description
Full trading-account balance for a sub-account.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.details: Vec<SubAccountTradingBalanceDetail>Per-currency details.
adj_eq: NumberStringAdjusted equity in USD.
avail_eq: NumberStringAvailable equity in USD (Multi-currency margin / Portfolio margin).
total_eq: NumberStringTotal equity in USD.
imr: NumberStringInitial margin requirement in USD.
mmr: NumberStringMaintenance margin requirement in USD.
mgn_ratio: NumberStringMargin ratio.
iso_eq: NumberStringIsolated equity in USD.
ord_froz: NumberStringQuantity of pending orders frozen (USD).
notional_usd: NumberStringNotional value in USD.
upl: NumberStringUnrealized profit and loss in USD.
u_time: NumberStringUpdate time (Unix milliseconds).
Trait Implementations§
Source§impl Clone for SubAccountTradingBalance
impl Clone for SubAccountTradingBalance
Source§fn clone(&self) -> SubAccountTradingBalance
fn clone(&self) -> SubAccountTradingBalance
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 SubAccountTradingBalance
impl Debug for SubAccountTradingBalance
Source§impl<'de> Deserialize<'de> for SubAccountTradingBalance
impl<'de> Deserialize<'de> for SubAccountTradingBalance
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 SubAccountTradingBalance
impl RefUnwindSafe for SubAccountTradingBalance
impl Send for SubAccountTradingBalance
impl Sync for SubAccountTradingBalance
impl Unpin for SubAccountTradingBalance
impl UnsafeUnpin for SubAccountTradingBalance
impl UnwindSafe for SubAccountTradingBalance
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