pub struct DepthItem {
pub qty: u32,
pub price: f64,
pub orders: u16,
}
Expand description
Structure for each market depth entry
Fields§
§qty: u32
§price: f64
§orders: u16
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DepthItem
impl<'de> Deserialize<'de> for DepthItem
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 DepthItem
Auto Trait Implementations§
impl Freeze for DepthItem
impl RefUnwindSafe for DepthItem
impl Send for DepthItem
impl Sync for DepthItem
impl Unpin for DepthItem
impl UnwindSafe for DepthItem
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