pub struct DepthEvent {
pub event_time: u64,
pub symbol: String,
pub first_update_id: u64,
pub final_update_id: u64,
pub bids: Vec<DepthLevel>,
pub asks: Vec<DepthLevel>,
}Expand description
Depth update event.
Fields§
§event_time: u64Event time.
symbol: StringSymbol.
first_update_id: u64First update ID in event.
final_update_id: u64Final update ID in event.
bids: Vec<DepthLevel>Bids to be updated.
asks: Vec<DepthLevel>Asks to be updated.
Trait Implementations§
Source§impl Clone for DepthEvent
impl Clone for DepthEvent
Source§fn clone(&self) -> DepthEvent
fn clone(&self) -> DepthEvent
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 DepthEvent
impl Debug for DepthEvent
Source§impl<'de> Deserialize<'de> for DepthEvent
impl<'de> Deserialize<'de> for DepthEvent
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
Auto Trait Implementations§
impl Freeze for DepthEvent
impl RefUnwindSafe for DepthEvent
impl Send for DepthEvent
impl Sync for DepthEvent
impl Unpin for DepthEvent
impl UnwindSafe for DepthEvent
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