pub struct DepthUpdate {
pub symbol: Symbol,
pub bids: Vec<OrderBookLevel>,
pub asks: Vec<OrderBookLevel>,
pub timestamp: DateTime<Utc>,
}Expand description
Incremental order book update.
Fields§
§symbol: Symbol§bids: Vec<OrderBookLevel>§asks: Vec<OrderBookLevel>§timestamp: DateTime<Utc>Trait Implementations§
Source§impl Clone for DepthUpdate
impl Clone for DepthUpdate
Source§fn clone(&self) -> DepthUpdate
fn clone(&self) -> DepthUpdate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DepthUpdate
impl Debug for DepthUpdate
Source§impl<'de> Deserialize<'de> for DepthUpdate
impl<'de> Deserialize<'de> for DepthUpdate
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 DepthUpdate
impl PartialEq for DepthUpdate
Source§impl Serialize for DepthUpdate
impl Serialize for DepthUpdate
impl StructuralPartialEq for DepthUpdate
Auto Trait Implementations§
impl Freeze for DepthUpdate
impl RefUnwindSafe for DepthUpdate
impl Send for DepthUpdate
impl Sync for DepthUpdate
impl Unpin 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