pub struct PriceIncrement {
pub low_edge: f64,
pub increment: f64,
}Expand description
Price increment for a market rule.
Fields§
§low_edge: f64§increment: f64Trait Implementations§
Source§impl Clone for PriceIncrement
impl Clone for PriceIncrement
Source§fn clone(&self) -> PriceIncrement
fn clone(&self) -> PriceIncrement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PriceIncrement
Source§impl Debug for PriceIncrement
impl Debug for PriceIncrement
Source§impl Default for PriceIncrement
impl Default for PriceIncrement
Source§fn default() -> PriceIncrement
fn default() -> PriceIncrement
Returns the “default value” for a type. Read more
Source§impl PartialEq for PriceIncrement
impl PartialEq for PriceIncrement
impl StructuralPartialEq for PriceIncrement
Auto Trait Implementations§
impl Freeze for PriceIncrement
impl RefUnwindSafe for PriceIncrement
impl Send for PriceIncrement
impl Sync for PriceIncrement
impl Unpin for PriceIncrement
impl UnsafeUnpin for PriceIncrement
impl UnwindSafe for PriceIncrement
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