#[non_exhaustive]pub struct OrderBookDelta {
pub symbol: Symbol,
pub first_update_id: Option<String>,
pub last_update_id: Option<String>,
pub bids: Vec<OrderBookLevel>,
pub asks: Vec<OrderBookLevel>,
pub timestamp: Option<OffsetDateTime>,
pub extensions: Extensions,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.symbol: Symbol§first_update_id: Option<String>§last_update_id: Option<String>§bids: Vec<OrderBookLevel>§asks: Vec<OrderBookLevel>§timestamp: Option<OffsetDateTime>§extensions: ExtensionsImplementations§
Trait Implementations§
Source§impl Clone for OrderBookDelta
impl Clone for OrderBookDelta
Source§fn clone(&self) -> OrderBookDelta
fn clone(&self) -> OrderBookDelta
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 OrderBookDelta
impl Debug for OrderBookDelta
Source§impl PartialEq for OrderBookDelta
impl PartialEq for OrderBookDelta
Source§fn eq(&self, other: &OrderBookDelta) -> bool
fn eq(&self, other: &OrderBookDelta) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OrderBookDelta
Auto Trait Implementations§
impl Freeze for OrderBookDelta
impl RefUnwindSafe for OrderBookDelta
impl Send for OrderBookDelta
impl Sync for OrderBookDelta
impl Unpin for OrderBookDelta
impl UnsafeUnpin for OrderBookDelta
impl UnwindSafe for OrderBookDelta
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