#[non_exhaustive]pub struct DepthUpdate {
pub symbol: SymbolId,
pub new_quotes: Vec<DepthQuote>,
pub deleted_quotes: Vec<DepthQuoteId>,
}Expand description
Change of the market depth of a symbol.
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: SymbolIdSymbol the change belongs to.
new_quotes: Vec<DepthQuote>Entries that are new or replace the entry with the same identifier.
deleted_quotes: Vec<DepthQuoteId>Identifiers of the entries that are gone.
Trait Implementations§
Source§impl Clone for DepthUpdate
impl Clone for DepthUpdate
Source§impl Debug for DepthUpdate
impl Debug for DepthUpdate
impl Eq for DepthUpdate
Source§impl Hash for DepthUpdate
impl Hash for DepthUpdate
Source§impl PartialEq for DepthUpdate
impl PartialEq for DepthUpdate
impl StructuralPartialEq for DepthUpdate
Auto Trait Implementations§
impl Forget for DepthUpdate
impl Freeze for DepthUpdate
impl Move for DepthUpdate
impl RefUnwindSafe for DepthUpdate
impl Send for DepthUpdate
impl Sync for DepthUpdate
impl Unpin for DepthUpdate
impl UnsafeUnpin for DepthUpdate
impl UnwindSafe for DepthUpdate
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