pub struct CfmBalanceSummary {Show 14 fields
pub futures_buying_power: CfmAmount,
pub total_usd_balance: CfmAmount,
pub cbi_usd_balance: CfmAmount,
pub cfm_usd_balance: CfmAmount,
pub total_open_orders_hold_amount: CfmAmount,
pub unrealized_pnl: CfmAmount,
pub daily_realized_pnl: CfmAmount,
pub initial_margin: CfmAmount,
pub available_margin: CfmAmount,
pub liquidation_threshold: CfmAmount,
pub liquidation_buffer_amount: CfmAmount,
pub liquidation_buffer_percentage: String,
pub intraday_margin_window_measure: Option<CfmMarginWindowMeasure>,
pub overnight_margin_window_measure: Option<CfmMarginWindowMeasure>,
}Expand description
Coinbase FCM (futures) balance summary.
Fields§
§futures_buying_power: CfmAmount§total_usd_balance: CfmAmount§cbi_usd_balance: CfmAmount§cfm_usd_balance: CfmAmount§total_open_orders_hold_amount: CfmAmount§unrealized_pnl: CfmAmount§daily_realized_pnl: CfmAmount§initial_margin: CfmAmount§available_margin: CfmAmount§liquidation_threshold: CfmAmount§liquidation_buffer_amount: CfmAmount§liquidation_buffer_percentage: String§intraday_margin_window_measure: Option<CfmMarginWindowMeasure>§overnight_margin_window_measure: Option<CfmMarginWindowMeasure>Trait Implementations§
Source§impl Clone for CfmBalanceSummary
impl Clone for CfmBalanceSummary
Source§fn clone(&self) -> CfmBalanceSummary
fn clone(&self) -> CfmBalanceSummary
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 CfmBalanceSummary
impl Debug for CfmBalanceSummary
Source§impl<'de> Deserialize<'de> for CfmBalanceSummary
impl<'de> Deserialize<'de> for CfmBalanceSummary
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 CfmBalanceSummary
impl RefUnwindSafe for CfmBalanceSummary
impl Send for CfmBalanceSummary
impl Sync for CfmBalanceSummary
impl Unpin for CfmBalanceSummary
impl UnsafeUnpin for CfmBalanceSummary
impl UnwindSafe for CfmBalanceSummary
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