pub struct DepthLevel {
pub price: u64,
pub total_qty: u64,
pub order_count: u32,
}Expand description
One aggregated price level in an L2 depth snapshot.
Fields§
§price: u64Raw price in quote units.
total_qty: u64Sum of remaining quantities resting at this price.
order_count: u32Number of live orders at this price.
Trait Implementations§
Source§impl Clone for DepthLevel
impl Clone for DepthLevel
impl Copy for DepthLevel
Source§impl Debug for DepthLevel
impl Debug for DepthLevel
impl Eq for DepthLevel
Source§impl PartialEq for DepthLevel
impl PartialEq for DepthLevel
impl StructuralPartialEq for DepthLevel
Auto Trait Implementations§
impl Forget for DepthLevel
impl Freeze for DepthLevel
impl Move for DepthLevel
impl RefUnwindSafe for DepthLevel
impl Send for DepthLevel
impl Sync for DepthLevel
impl Unpin for DepthLevel
impl UnsafeUnpin 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