pub struct TrsrvSecDefResponseSecdefIncrementRule {
pub increment: Option<f64>,
pub lower_edge: Option<f64>,
}Fields§
§increment: Option<f64>The price of the instrument must be submitted as a mulitple of the increment value.
- Example:
Some(0.0)
lower_edge: Option<f64>If the current mark price of the instrument is at or above the lower edge, the given increment value is used for order prices.
- Example:
Some(0.0)
Trait Implementations§
Source§impl Clone for TrsrvSecDefResponseSecdefIncrementRule
impl Clone for TrsrvSecDefResponseSecdefIncrementRule
Source§fn clone(&self) -> TrsrvSecDefResponseSecdefIncrementRule
fn clone(&self) -> TrsrvSecDefResponseSecdefIncrementRule
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<'de> Deserialize<'de> for TrsrvSecDefResponseSecdefIncrementRule
impl<'de> Deserialize<'de> for TrsrvSecDefResponseSecdefIncrementRule
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 TrsrvSecDefResponseSecdefIncrementRule
impl PartialEq for TrsrvSecDefResponseSecdefIncrementRule
Source§fn eq(&self, other: &TrsrvSecDefResponseSecdefIncrementRule) -> bool
fn eq(&self, other: &TrsrvSecDefResponseSecdefIncrementRule) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TrsrvSecDefResponseSecdefIncrementRule
Auto Trait Implementations§
impl Freeze for TrsrvSecDefResponseSecdefIncrementRule
impl RefUnwindSafe for TrsrvSecDefResponseSecdefIncrementRule
impl Send for TrsrvSecDefResponseSecdefIncrementRule
impl Sync for TrsrvSecDefResponseSecdefIncrementRule
impl Unpin for TrsrvSecDefResponseSecdefIncrementRule
impl UnsafeUnpin for TrsrvSecDefResponseSecdefIncrementRule
impl UnwindSafe for TrsrvSecDefResponseSecdefIncrementRule
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