pub struct RiskLimit {
pub id: i32,
pub symbol: String,
pub risk_limit_value: String,
pub maintenance_margin: String,
pub initial_margin: String,
pub max_leverage: String,
}Expand description
Single risk limit.
Fields§
§id: i32ID
symbol: StringSymbol
risk_limit_value: StringRisk limit value
maintenance_margin: StringMaintenance margin
initial_margin: StringInitial margin
max_leverage: StringMax leverage
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RiskLimit
impl<'de> Deserialize<'de> for RiskLimit
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 RiskLimit
impl RefUnwindSafe for RiskLimit
impl Send for RiskLimit
impl Sync for RiskLimit
impl Unpin for RiskLimit
impl UnsafeUnpin for RiskLimit
impl UnwindSafe for RiskLimit
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