pub struct StreamOptionChain {
pub symbol: Option<String>,
pub underlying: Option<String>,
pub option_type: Option<String>,
pub strike_price: Option<String>,
pub expiration_date: Option<String>,
pub bid: Option<String>,
pub ask: Option<String>,
pub last: Option<String>,
pub status: Option<String>,
}Expand description
A streaming option chain update.
Delivered via Client::stream_option_chains.
Fields§
§symbol: Option<String>Option symbol.
underlying: Option<String>Underlying ticker symbol.
option_type: Option<String>Option type (“Call” or “Put”).
strike_price: Option<String>Strike price.
expiration_date: Option<String>Expiration date.
bid: Option<String>Best bid price.
ask: Option<String>Best ask price.
last: Option<String>Last traded price.
status: Option<String>Stream status (present only for status messages).
Implementations§
Trait Implementations§
Source§impl Clone for StreamOptionChain
impl Clone for StreamOptionChain
Source§fn clone(&self) -> StreamOptionChain
fn clone(&self) -> StreamOptionChain
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 StreamOptionChain
impl Debug for StreamOptionChain
Source§impl<'de> Deserialize<'de> for StreamOptionChain
impl<'de> Deserialize<'de> for StreamOptionChain
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 StreamOptionChain
impl RefUnwindSafe for StreamOptionChain
impl Send for StreamOptionChain
impl Sync for StreamOptionChain
impl Unpin for StreamOptionChain
impl UnsafeUnpin for StreamOptionChain
impl UnwindSafe for StreamOptionChain
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