[][src]Struct yahoo_finance_api::YMetaData

pub struct YMetaData {
    pub currency: String,
    pub symbol: String,
    pub exchange_name: String,
    pub instrument_type: String,
    pub first_trade_date: i32,
    pub regular_market_time: u32,
    pub gmtoffset: i32,
    pub timezone: String,
    pub exchange_timezone_name: String,
    pub regular_market_price: f64,
    pub chart_previous_close: f64,
    pub previous_close: Option<f64>,
    pub scale: Option<i32>,
    pub price_hint: i32,
    pub current_trading_period: TradingPeriod,
    pub trading_periods: Option<Vec<Vec<PeriodInfo>>>,
    pub data_granularity: String,
    pub range: String,
    pub valid_ranges: Vec<String>,
}

Fields

currency: Stringsymbol: Stringexchange_name: Stringinstrument_type: Stringfirst_trade_date: i32regular_market_time: u32gmtoffset: i32timezone: Stringexchange_timezone_name: Stringregular_market_price: f64chart_previous_close: f64previous_close: Option<f64>scale: Option<i32>price_hint: i32current_trading_period: TradingPeriodtrading_periods: Option<Vec<Vec<PeriodInfo>>>data_granularity: Stringrange: Stringvalid_ranges: Vec<String>

Trait Implementations

impl Debug for YMetaData[src]

impl<'de> Deserialize<'de> for YMetaData[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> Instrument for T[src]

impl<T> Instrument for T[src]

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

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.