pub struct WsFcmBalanceSummary {Show 14 fields
pub futures_buying_power: Decimal,
pub total_usd_balance: Decimal,
pub cbi_usd_balance: Decimal,
pub cfm_usd_balance: Decimal,
pub total_open_orders_hold_amount: Decimal,
pub unrealized_pnl: Decimal,
pub daily_realized_pnl: Decimal,
pub initial_margin: Decimal,
pub available_margin: Decimal,
pub liquidation_threshold: Decimal,
pub liquidation_buffer_amount: Decimal,
pub liquidation_buffer_percentage: Decimal,
pub intraday_margin_window_measure: WsMarginWindowMeasure,
pub overnight_margin_window_measure: WsMarginWindowMeasure,
}Expand description
Futures balance summary snapshot.
Fields§
§futures_buying_power: Decimal§total_usd_balance: Decimal§cbi_usd_balance: Decimal§cfm_usd_balance: Decimal§total_open_orders_hold_amount: Decimal§unrealized_pnl: Decimal§daily_realized_pnl: Decimal§initial_margin: Decimal§available_margin: Decimal§liquidation_threshold: Decimal§liquidation_buffer_amount: Decimal§liquidation_buffer_percentage: Decimal§intraday_margin_window_measure: WsMarginWindowMeasure§overnight_margin_window_measure: WsMarginWindowMeasureTrait Implementations§
Source§impl Clone for WsFcmBalanceSummary
impl Clone for WsFcmBalanceSummary
Source§fn clone(&self) -> WsFcmBalanceSummary
fn clone(&self) -> WsFcmBalanceSummary
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 WsFcmBalanceSummary
impl Debug for WsFcmBalanceSummary
Source§impl<'de> Deserialize<'de> for WsFcmBalanceSummary
impl<'de> Deserialize<'de> for WsFcmBalanceSummary
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 WsFcmBalanceSummary
impl RefUnwindSafe for WsFcmBalanceSummary
impl Send for WsFcmBalanceSummary
impl Sync for WsFcmBalanceSummary
impl Unpin for WsFcmBalanceSummary
impl UnsafeUnpin for WsFcmBalanceSummary
impl UnwindSafe for WsFcmBalanceSummary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more