pub struct OrderbookUpdateMessage {
pub channel_id: i64,
pub bids: Vec<BidAskUpdate>,
pub asks: Vec<BidAskUpdate>,
pub channel_name: String,
pub pair: String,
pub checksum: String,
}
Expand description
Orderbook update message containing all updates and the expected checksum of the final book
Fields§
§channel_id: i64
§bids: Vec<BidAskUpdate>
§asks: Vec<BidAskUpdate>
§channel_name: String
§pair: String
§checksum: String
Trait Implementations§
Source§impl Debug for OrderbookUpdateMessage
impl Debug for OrderbookUpdateMessage
Source§impl<'de> Deserialize<'de> for OrderbookUpdateMessage
impl<'de> Deserialize<'de> for OrderbookUpdateMessage
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 OrderbookUpdateMessage
impl PartialEq for OrderbookUpdateMessage
impl StructuralPartialEq for OrderbookUpdateMessage
Auto Trait Implementations§
impl Freeze for OrderbookUpdateMessage
impl RefUnwindSafe for OrderbookUpdateMessage
impl Send for OrderbookUpdateMessage
impl Sync for OrderbookUpdateMessage
impl Unpin for OrderbookUpdateMessage
impl UnwindSafe for OrderbookUpdateMessage
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