struct SnapshotOptionJson {Show 22 fields
option_type: i32,
option_owner: SnapshotOptionOwnerJson,
strike_time: String,
strike_price: f64,
contract_size: i32,
open_interest: i32,
implied_volatility: f64,
premium: f64,
delta: f64,
gamma: f64,
vega: f64,
theta: f64,
rho: f64,
strike_timestamp: Option<f64>,
index_option_type: Option<i32>,
net_open_interest: Option<i32>,
expiry_date_distance: Option<i32>,
contract_nominal_value: Option<f64>,
owner_lot_multiplier: Option<f64>,
option_area_type: Option<i32>,
contract_multiplier: Option<f64>,
contract_size_float: Option<f64>,
}Fields§
§option_type: i32§option_owner: SnapshotOptionOwnerJson§strike_time: String§strike_price: f64§contract_size: i32§open_interest: i32§implied_volatility: f64§delta: f64§gamma: f64§vega: f64§theta: f64§rho: f64§strike_timestamp: Option<f64>§index_option_type: Option<i32>§net_open_interest: Option<i32>§expiry_date_distance: Option<i32>§contract_nominal_value: Option<f64>§owner_lot_multiplier: Option<f64>§option_area_type: Option<i32>§contract_multiplier: Option<f64>§contract_size_float: Option<f64>Trait Implementations§
Source§impl From<&OptionSnapshotExData> for SnapshotOptionJson
impl From<&OptionSnapshotExData> for SnapshotOptionJson
Auto Trait Implementations§
impl Freeze for SnapshotOptionJson
impl RefUnwindSafe for SnapshotOptionJson
impl Send for SnapshotOptionJson
impl Sync for SnapshotOptionJson
impl Unpin for SnapshotOptionJson
impl UnsafeUnpin for SnapshotOptionJson
impl UnwindSafe for SnapshotOptionJson
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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