pub struct Collateral {Show 13 fields
pub assets_value: Decimal,
pub borrow_liability: Decimal,
pub collateral: Vec<CollateralItem>,
pub imf: Decimal,
pub unsettled_equity: Decimal,
pub liabilities_value: Decimal,
pub margin_fraction: Option<Decimal>,
pub mmf: Decimal,
pub net_equity: Decimal,
pub net_equity_available: Decimal,
pub net_equity_locked: Decimal,
pub net_exposure_futures: Decimal,
pub pnl_unrealized: Decimal,
}Fields§
§assets_value: Decimal§borrow_liability: Decimal§collateral: Vec<CollateralItem>§imf: Decimal§unsettled_equity: Decimal§liabilities_value: Decimal§margin_fraction: Option<Decimal>§mmf: Decimal§net_equity: Decimal§net_equity_available: Decimal§net_equity_locked: Decimal§net_exposure_futures: Decimal§pnl_unrealized: DecimalTrait Implementations§
Source§impl Clone for Collateral
impl Clone for Collateral
Source§fn clone(&self) -> Collateral
fn clone(&self) -> Collateral
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 Collateral
impl Debug for Collateral
Source§impl<'de> Deserialize<'de> for Collateral
impl<'de> Deserialize<'de> for Collateral
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 Collateral
impl RefUnwindSafe for Collateral
impl Send for Collateral
impl Sync for Collateral
impl Unpin for Collateral
impl UnwindSafe for Collateral
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