pub struct OrderbookMessage {
pub channel_id: i64,
pub orderbook: Orderbook,
pub channel_name: String,
pub pair: String,
}
Expand description
Message for an orderbook snapshot
Fields§
§channel_id: i64
§orderbook: Orderbook
§channel_name: String
§pair: String
Trait Implementations§
Source§impl Debug for OrderbookMessage
impl Debug for OrderbookMessage
Source§impl<'de> Deserialize<'de> for OrderbookMessage
impl<'de> Deserialize<'de> for OrderbookMessage
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 OrderbookMessage
impl PartialEq for OrderbookMessage
impl StructuralPartialEq for OrderbookMessage
Auto Trait Implementations§
impl Freeze for OrderbookMessage
impl RefUnwindSafe for OrderbookMessage
impl Send for OrderbookMessage
impl Sync for OrderbookMessage
impl Unpin for OrderbookMessage
impl UnwindSafe for OrderbookMessage
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