pub struct DepthLevel {
pub price: f64,
pub quantity: f64,
}Expand description
Depth level (price/quantity pair).
Fields§
§price: f64Price level.
quantity: f64Quantity.
Trait Implementations§
Source§impl Clone for DepthLevel
impl Clone for DepthLevel
Source§fn clone(&self) -> DepthLevel
fn clone(&self) -> DepthLevel
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 DepthLevel
impl Debug for DepthLevel
Source§impl<'de> Deserialize<'de> for DepthLevel
impl<'de> Deserialize<'de> for DepthLevel
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
Auto Trait Implementations§
impl Freeze for DepthLevel
impl RefUnwindSafe for DepthLevel
impl Send for DepthLevel
impl Sync for DepthLevel
impl Unpin for DepthLevel
impl UnwindSafe for DepthLevel
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