pub struct OrderBookResult {
pub symbol: String,
pub bids: Vec<Level>,
pub asks: Vec<Level>,
pub ts: i64,
pub update_id: i64,
pub seq: i64,
pub cts: i64,
}Expand description
The order book of /v5/market/orderbook.
Fields§
§symbol: StringThe symbol.
bids: Vec<Level>Bids, best first.
asks: Vec<Level>Asks, best first.
ts: i64The time the exchange made the data, milliseconds.
update_id: i64The update id.
seq: i64The cross sequence.
cts: i64The time of the matching engine, milliseconds.
Trait Implementations§
Source§impl Clone for OrderBookResult
impl Clone for OrderBookResult
Source§fn clone(&self) -> OrderBookResult
fn clone(&self) -> OrderBookResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OrderBookResult
impl Debug for OrderBookResult
Source§impl<'de> Deserialize<'de> for OrderBookResult
impl<'de> Deserialize<'de> for OrderBookResult
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 OrderBookResult
impl RefUnwindSafe for OrderBookResult
impl Send for OrderBookResult
impl Sync for OrderBookResult
impl Unpin for OrderBookResult
impl UnsafeUnpin for OrderBookResult
impl UnwindSafe for OrderBookResult
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