pub struct PrecisionInfo {
pub tick_size: String,
pub step_size: String,
}Expand description
Per-symbol precision info for safe price/qty formatting.
Fields§
§tick_size: StringTick size as string, e.g. "0.01".
step_size: StringStep size as string, e.g. "0.001".
Trait Implementations§
Source§impl Clone for PrecisionInfo
impl Clone for PrecisionInfo
Source§fn clone(&self) -> PrecisionInfo
fn clone(&self) -> PrecisionInfo
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 moreAuto Trait Implementations§
impl Freeze for PrecisionInfo
impl RefUnwindSafe for PrecisionInfo
impl Send for PrecisionInfo
impl Sync for PrecisionInfo
impl Unpin for PrecisionInfo
impl UnsafeUnpin for PrecisionInfo
impl UnwindSafe for PrecisionInfo
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