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