pub struct RiskLimitEntry {
pub id: u32,
pub symbol: String,
pub risk_limit_value: Decimal,
pub maintenance_margin: Decimal,
pub initial_margin: Decimal,
pub is_lowest_risk: bool,
pub max_leverage: Decimal,
}Fields§
§id: u32§symbol: String§risk_limit_value: Decimal§maintenance_margin: Decimal§initial_margin: Decimal§is_lowest_risk: bool§max_leverage: DecimalTrait Implementations§
Source§impl Debug for RiskLimitEntry
impl Debug for RiskLimitEntry
Source§impl<'de> Deserialize<'de> for RiskLimitEntry
impl<'de> Deserialize<'de> for RiskLimitEntry
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
Source§impl PartialEq for RiskLimitEntry
impl PartialEq for RiskLimitEntry
Source§fn eq(&self, other: &RiskLimitEntry) -> bool
fn eq(&self, other: &RiskLimitEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RiskLimitEntry
Auto Trait Implementations§
impl Freeze for RiskLimitEntry
impl RefUnwindSafe for RiskLimitEntry
impl Send for RiskLimitEntry
impl Sync for RiskLimitEntry
impl Unpin for RiskLimitEntry
impl UnsafeUnpin for RiskLimitEntry
impl UnwindSafe for RiskLimitEntry
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