Struct eodhistoricaldata_api::HistoricQuote
source · pub struct HistoricQuote {
pub date: String,
pub open: Option<f64>,
pub high: Option<f64>,
pub low: Option<f64>,
pub close: Option<f64>,
pub adjusted_close: f64,
pub volume: Option<usize>,
}
Fields
date: String
Quote date as string using the format %Y-%m-%d
open: Option<f64>
high: Option<f64>
low: Option<f64>
close: Option<f64>
adjusted_close: f64
volume: Option<usize>
Trait Implementations
sourceimpl Debug for HistoricQuote
impl Debug for HistoricQuote
sourceimpl<'de> Deserialize<'de> for HistoricQuote
impl<'de> Deserialize<'de> for HistoricQuote
sourcefn 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 HistoricQuote
impl Send for HistoricQuote
impl Sync for HistoricQuote
impl Unpin for HistoricQuote
impl UnwindSafe for HistoricQuote
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more