pub struct StreamMarketDepthQuote {
pub symbol: Option<String>,
pub ask: Option<String>,
pub ask_size: Option<String>,
pub bid: Option<String>,
pub bid_size: Option<String>,
pub side: Option<String>,
pub status: Option<String>,
}Expand description
A streaming market depth (Level 2) quote.
Delivered via Client::stream_market_depth_quotes.
Fields§
§symbol: Option<String>Ticker symbol.
ask: Option<String>Ask price at this depth level.
ask_size: Option<String>Ask size at this depth level.
bid: Option<String>Bid price at this depth level.
bid_size: Option<String>Bid size at this depth level.
side: Option<String>Side of the book (“Ask” or “Bid”).
status: Option<String>Stream status (present only for status messages).
Implementations§
Trait Implementations§
Source§impl Clone for StreamMarketDepthQuote
impl Clone for StreamMarketDepthQuote
Source§fn clone(&self) -> StreamMarketDepthQuote
fn clone(&self) -> StreamMarketDepthQuote
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 StreamMarketDepthQuote
impl Debug for StreamMarketDepthQuote
Source§impl<'de> Deserialize<'de> for StreamMarketDepthQuote
impl<'de> Deserialize<'de> for StreamMarketDepthQuote
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 StreamMarketDepthQuote
impl RefUnwindSafe for StreamMarketDepthQuote
impl Send for StreamMarketDepthQuote
impl Sync for StreamMarketDepthQuote
impl Unpin for StreamMarketDepthQuote
impl UnsafeUnpin for StreamMarketDepthQuote
impl UnwindSafe for StreamMarketDepthQuote
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