pub struct CollateralItem {
pub symbol: String,
pub asset_mark_price: Decimal,
pub total_quantity: Decimal,
pub balance_notional: Decimal,
pub collateral_weight: Decimal,
pub collateral_value: Decimal,
pub open_order_quantity: Decimal,
pub lend_quantity: Decimal,
pub available_quantity: Decimal,
}Fields§
§symbol: String§asset_mark_price: Decimal§total_quantity: Decimal§balance_notional: Decimal§collateral_weight: Decimal§collateral_value: Decimal§open_order_quantity: Decimal§lend_quantity: Decimal§available_quantity: DecimalTrait Implementations§
Source§impl Clone for CollateralItem
impl Clone for CollateralItem
Source§fn clone(&self) -> CollateralItem
fn clone(&self) -> CollateralItem
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 CollateralItem
impl Debug for CollateralItem
Source§impl<'de> Deserialize<'de> for CollateralItem
impl<'de> Deserialize<'de> for CollateralItem
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 CollateralItem
impl RefUnwindSafe for CollateralItem
impl Send for CollateralItem
impl Sync for CollateralItem
impl Unpin for CollateralItem
impl UnwindSafe for CollateralItem
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