pub struct OrderBookL3 {
pub symbol: Option<String>,
pub timestamp: Option<i64>,
pub datetime: Option<String>,
pub bids: Vec<OrderBookL3Entry>,
pub asks: Vec<OrderBookL3Entry>,
pub nonce: Option<i64>,
pub raw: Value,
}Expand description
A unified level-3 (per-order, non-aggregated) order-book snapshot.
Fields§
§symbol: Option<String>§timestamp: Option<i64>§datetime: Option<String>§bids: Vec<OrderBookL3Entry>§asks: Vec<OrderBookL3Entry>§nonce: Option<i64>§raw: ValueImplementations§
Source§impl OrderBookL3
impl OrderBookL3
pub fn from_value(v: Value) -> OrderBookL3
Trait Implementations§
Source§impl Clone for OrderBookL3
impl Clone for OrderBookL3
Source§fn clone(&self) -> OrderBookL3
fn clone(&self) -> OrderBookL3
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 moreSource§impl Debug for OrderBookL3
impl Debug for OrderBookL3
Source§impl Default for OrderBookL3
impl Default for OrderBookL3
Source§fn default() -> OrderBookL3
fn default() -> OrderBookL3
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Forget for OrderBookL3
impl Freeze for OrderBookL3
impl Move for OrderBookL3
impl RefUnwindSafe for OrderBookL3
impl Send for OrderBookL3
impl Sync for OrderBookL3
impl Unpin for OrderBookL3
impl UnsafeUnpin for OrderBookL3
impl UnwindSafe for OrderBookL3
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