pub struct IndexHistorical {
pub date: String,
pub open: f64,
pub high: f64,
pub low: f64,
pub close: f64,
pub adj_close: Option<f64>,
pub volume: Option<f64>,
}Expand description
Historical index data
Fields§
§date: StringDate
open: f64Open level
high: f64High level
low: f64Low level
close: f64Close level
adj_close: Option<f64>Adjusted close
volume: Option<f64>Volume (if applicable)
Trait Implementations§
Source§impl Clone for IndexHistorical
impl Clone for IndexHistorical
Source§fn clone(&self) -> IndexHistorical
fn clone(&self) -> IndexHistorical
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IndexHistorical
impl Debug for IndexHistorical
Source§impl<'de> Deserialize<'de> for IndexHistorical
impl<'de> Deserialize<'de> for IndexHistorical
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 Freeze for IndexHistorical
impl RefUnwindSafe for IndexHistorical
impl Send for IndexHistorical
impl Sync for IndexHistorical
impl Unpin for IndexHistorical
impl UnwindSafe for IndexHistorical
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