Struct yahoo_finance_api::YMetaData
source · pub struct YMetaData {Show 19 fields
pub currency: String,
pub symbol: String,
pub exchange_name: String,
pub instrument_type: String,
pub first_trade_date: Option<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: String
§symbol: String
§exchange_name: String
§instrument_type: String
§first_trade_date: Option<i32>
§regular_market_time: u32
§gmtoffset: i32
§timezone: String
§exchange_timezone_name: String
§regular_market_price: f64
§chart_previous_close: f64
§previous_close: Option<f64>
§scale: Option<i32>
§price_hint: i32
§current_trading_period: TradingPeriod
§trading_periods: Option<Vec<Vec<PeriodInfo>>>
§data_granularity: String
§range: String
§valid_ranges: Vec<String>
Trait Implementations§
source§impl<'de> Deserialize<'de> for YMetaData
impl<'de> Deserialize<'de> for YMetaData
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
Auto Trait Implementations§
impl RefUnwindSafe for YMetaData
impl Send for YMetaData
impl Sync for YMetaData
impl Unpin for YMetaData
impl UnwindSafe for YMetaData
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