pub enum OrderbookMsg {
Snapshot {
topic: Topic,
ts: Timestamp,
data: OrderbookDataMsg,
cts: Timestamp,
},
Delta {
topic: Topic,
ts: Timestamp,
data: OrderbookDataMsg,
cts: Timestamp,
},
}Variants§
Trait Implementations§
Source§impl Debug for OrderbookMsg
impl Debug for OrderbookMsg
Source§impl<'de> Deserialize<'de> for OrderbookMsg
impl<'de> Deserialize<'de> for OrderbookMsg
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for OrderbookMsg
impl PartialEq for OrderbookMsg
Source§fn eq(&self, other: &OrderbookMsg) -> bool
fn eq(&self, other: &OrderbookMsg) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OrderbookMsg
Auto Trait Implementations§
impl Freeze for OrderbookMsg
impl RefUnwindSafe for OrderbookMsg
impl Send for OrderbookMsg
impl Sync for OrderbookMsg
impl Unpin for OrderbookMsg
impl UnsafeUnpin for OrderbookMsg
impl UnwindSafe for OrderbookMsg
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