pub struct ContractRulesIncrementRule {
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.
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.
Trait Implementations§
Source§impl Clone for ContractRulesIncrementRule
impl Clone for ContractRulesIncrementRule
Source§fn clone(&self) -> ContractRulesIncrementRule
fn clone(&self) -> ContractRulesIncrementRule
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 ContractRulesIncrementRule
impl Debug for ContractRulesIncrementRule
Source§impl Default for ContractRulesIncrementRule
impl Default for ContractRulesIncrementRule
Source§impl<'de> Deserialize<'de> for ContractRulesIncrementRule
impl<'de> Deserialize<'de> for ContractRulesIncrementRule
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
impl StructuralPartialEq for ContractRulesIncrementRule
Auto Trait Implementations§
impl Freeze for ContractRulesIncrementRule
impl RefUnwindSafe for ContractRulesIncrementRule
impl Send for ContractRulesIncrementRule
impl Sync for ContractRulesIncrementRule
impl Unpin for ContractRulesIncrementRule
impl UnsafeUnpin for ContractRulesIncrementRule
impl UnwindSafe for ContractRulesIncrementRule
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