pub struct OptionData {Show 49 fields
pub put_call: String,
pub symbol: String,
pub description: String,
pub exchange_name: String,
pub bid: f64,
pub ask: f64,
pub last: f64,
pub mark: f64,
pub bid_size: i64,
pub ask_size: i64,
pub bid_ask_size: String,
pub last_size: i64,
pub high_price: f64,
pub low_price: f64,
pub open_price: f64,
pub close_price: f64,
pub total_volume: i64,
pub trade_date: Option<String>,
pub trade_time_in_long: i64,
pub quote_time_in_long: i64,
pub net_change: f64,
pub volatility: Option<f64>,
pub delta: Option<f64>,
pub gamma: Option<f64>,
pub theta: Option<f64>,
pub vega: f64,
pub rho: Option<f64>,
pub open_interest: i64,
pub time_value: f64,
pub theoretical_option_value: Option<f64>,
pub theoretical_volatility: f64,
pub option_deliverables_list: Option<OptionDeliverables>,
pub strike_price: f64,
pub expiration_date: i64,
pub days_to_expiration: i64,
pub expiration_type: String,
pub last_trading_day: i64,
pub multiplier: f64,
pub settlement_type: String,
pub deliverable_note: String,
pub is_index_option: Option<String>,
pub percent_change: f64,
pub mark_change: f64,
pub mark_percent_change: f64,
pub intrinsic_value: f64,
pub penny_pilot: bool,
pub non_standard: bool,
pub in_the_money: bool,
pub mini: bool,
}Fields§
§put_call: String§symbol: String§description: String§exchange_name: String§bid: f64§ask: f64§last: f64§mark: f64§bid_size: i64§ask_size: i64§bid_ask_size: String§last_size: i64§high_price: f64§low_price: f64§open_price: f64§close_price: f64§total_volume: i64§trade_date: Option<String>§trade_time_in_long: i64§quote_time_in_long: i64§net_change: f64§volatility: Option<f64>§delta: Option<f64>§gamma: Option<f64>§theta: Option<f64>§vega: f64§rho: Option<f64>§open_interest: i64§time_value: f64§theoretical_option_value: Option<f64>§theoretical_volatility: f64§option_deliverables_list: Option<OptionDeliverables>§strike_price: f64§expiration_date: i64§days_to_expiration: i64§expiration_type: String§last_trading_day: i64§multiplier: f64§settlement_type: String§deliverable_note: String§is_index_option: Option<String>§percent_change: f64§mark_change: f64§mark_percent_change: f64§intrinsic_value: f64§penny_pilot: bool§non_standard: bool§in_the_money: bool§mini: boolTrait Implementations§
Source§impl Clone for OptionData
impl Clone for OptionData
Source§fn clone(&self) -> OptionData
fn clone(&self) -> OptionData
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 OptionData
impl Debug for OptionData
Source§impl Default for OptionData
impl Default for OptionData
Source§fn default() -> OptionData
fn default() -> OptionData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OptionData
impl<'de> Deserialize<'de> for OptionData
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 PartialEq for OptionData
impl PartialEq for OptionData
Source§impl Serialize for OptionData
impl Serialize for OptionData
impl StructuralPartialEq for OptionData
Auto Trait Implementations§
impl Freeze for OptionData
impl RefUnwindSafe for OptionData
impl Send for OptionData
impl Sync for OptionData
impl Unpin for OptionData
impl UnwindSafe for OptionData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more