[−][src]Struct lobster::BookDepth
A snapshot of the order book up to a certain depth level. Multiple orders at
the same price points are merged into a single BookLevel
struct.
Fields
levels: usize
The requested level. This field will always contain the level that was requested, even if some or all levels are empty.
asks: Vec<BookLevel>
A vector of price points with the associated quantity on the ask side.
bids: Vec<BookLevel>
A vector of price points with the associated quantity on the bid side.
Trait Implementations
impl Clone for BookDepth
[src]
impl Debug for BookDepth
[src]
impl PartialEq<BookDepth> for BookDepth
[src]
impl StructuralPartialEq for BookDepth
[src]
Auto Trait Implementations
impl RefUnwindSafe for BookDepth
impl Send for BookDepth
impl Sync for BookDepth
impl Unpin for BookDepth
impl UnwindSafe for BookDepth
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,