pub struct MarginSecuritiesWrapper {
pub total_margin_security: Option<Decimal>,
pub margin_by_security: Vec<MarginBySecurity>,
}Expand description
Margin positions (marginSecurities): the total and the list.
Fields§
§total_margin_security: Option<Decimal>Total. The docs label this field “total debt”.
margin_by_security: Vec<MarginBySecurity>The margin positions.
Trait Implementations§
Source§impl Clone for MarginSecuritiesWrapper
impl Clone for MarginSecuritiesWrapper
Source§fn clone(&self) -> MarginSecuritiesWrapper
fn clone(&self) -> MarginSecuritiesWrapper
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 MarginSecuritiesWrapper
impl Debug for MarginSecuritiesWrapper
Source§impl<'de> Deserialize<'de> for MarginSecuritiesWrapper
impl<'de> Deserialize<'de> for MarginSecuritiesWrapper
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 MarginSecuritiesWrapper
impl RefUnwindSafe for MarginSecuritiesWrapper
impl Send for MarginSecuritiesWrapper
impl Sync for MarginSecuritiesWrapper
impl Unpin for MarginSecuritiesWrapper
impl UnsafeUnpin for MarginSecuritiesWrapper
impl UnwindSafe for MarginSecuritiesWrapper
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