pub struct OptionInstrument {
pub instrument: Instrument,
pub ticker: TickerData,
}Expand description
Combined option instrument data with ticker information
Fields§
§instrument: InstrumentThe instrument details
ticker: TickerDataReal-time ticker data for the option
Trait Implementations§
Source§impl Clone for OptionInstrument
impl Clone for OptionInstrument
Source§fn clone(&self) -> OptionInstrument
fn clone(&self) -> OptionInstrument
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 OptionInstrument
impl Debug for OptionInstrument
Source§impl<'de> Deserialize<'de> for OptionInstrument
impl<'de> Deserialize<'de> for OptionInstrument
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
Source§impl Display for OptionInstrument
impl Display for OptionInstrument
Auto Trait Implementations§
impl Freeze for OptionInstrument
impl RefUnwindSafe for OptionInstrument
impl Send for OptionInstrument
impl Sync for OptionInstrument
impl Unpin for OptionInstrument
impl UnwindSafe for OptionInstrument
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