pub struct StreamOptionQuote {
pub symbol: Option<String>,
pub bid: Option<String>,
pub ask: Option<String>,
pub last: Option<String>,
pub volume: Option<String>,
pub open_interest: Option<String>,
pub status: Option<String>,
}Expand description
A streaming option quote update.
Delivered via Client::stream_option_quotes.
Fields§
§symbol: Option<String>Option symbol.
bid: Option<String>Best bid price.
ask: Option<String>Best ask price.
last: Option<String>Last traded price.
volume: Option<String>Cumulative volume.
open_interest: Option<String>Open interest.
status: Option<String>Stream status (present only for status messages).
Implementations§
Trait Implementations§
Source§impl Clone for StreamOptionQuote
impl Clone for StreamOptionQuote
Source§fn clone(&self) -> StreamOptionQuote
fn clone(&self) -> StreamOptionQuote
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 StreamOptionQuote
impl Debug for StreamOptionQuote
Source§impl<'de> Deserialize<'de> for StreamOptionQuote
impl<'de> Deserialize<'de> for StreamOptionQuote
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 StreamOptionQuote
impl RefUnwindSafe for StreamOptionQuote
impl Send for StreamOptionQuote
impl Sync for StreamOptionQuote
impl Unpin for StreamOptionQuote
impl UnsafeUnpin for StreamOptionQuote
impl UnwindSafe for StreamOptionQuote
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