Struct tickrs_api::model::OptionsContract[][src]

pub struct OptionsContract {
    pub strike: f64,
    pub last_price: f64,
    pub change: f64,
    pub percent_change: f64,
    pub volume: Option<u64>,
    pub open_interest: Option<u64>,
    pub bid: Option<f64>,
    pub ask: Option<f64>,
    pub implied_volatility: Option<f64>,
    pub in_the_money: Option<bool>,
    pub currency: Option<String>,
}

Fields

strike: f64last_price: f64change: f64percent_change: f64volume: Option<u64>open_interest: Option<u64>bid: Option<f64>ask: Option<f64>implied_volatility: Option<f64>in_the_money: Option<bool>currency: Option<String>

Trait Implementations

impl Clone for OptionsContract[src]

impl Debug for OptionsContract[src]

impl<'de> Deserialize<'de> for OptionsContract[src]

impl Hash for OptionsContract[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.