pub struct DepthUpdateMsg {
pub event_time: Timestamp,
pub symbol: String,
pub first_update_id: i64,
pub final_update_id: i64,
pub bids: Vec<OrderLevel>,
pub asks: Vec<OrderLevel>,
}Fields§
§event_time: TimestampEvent time
symbol: StringSymbol
first_update_id: i64First update ID in event
final_update_id: i64Final update ID in event
bids: Vec<OrderLevel>Bids to be updated (price + qty pairs).
asks: Vec<OrderLevel>Asks to be updated (price + qty pairs).
Trait Implementations§
Source§impl Debug for DepthUpdateMsg
impl Debug for DepthUpdateMsg
Source§impl<'de> Deserialize<'de> for DepthUpdateMsg
impl<'de> Deserialize<'de> for DepthUpdateMsg
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 DepthUpdateMsg
impl PartialEq for DepthUpdateMsg
Source§fn eq(&self, other: &DepthUpdateMsg) -> bool
fn eq(&self, other: &DepthUpdateMsg) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DepthUpdateMsg
Auto Trait Implementations§
impl Freeze for DepthUpdateMsg
impl RefUnwindSafe for DepthUpdateMsg
impl Send for DepthUpdateMsg
impl Sync for DepthUpdateMsg
impl Unpin for DepthUpdateMsg
impl UnsafeUnpin for DepthUpdateMsg
impl UnwindSafe for DepthUpdateMsg
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