pub struct ForexHistorical {
pub date: String,
pub open: f64,
pub high: f64,
pub low: f64,
pub close: f64,
pub adj_close: Option<f64>,
}Expand description
Historical forex rate
Fields§
§date: StringDate
open: f64Open rate
high: f64High rate
low: f64Low rate
close: f64Close rate
adj_close: Option<f64>Adjusted close
Trait Implementations§
Source§impl Clone for ForexHistorical
impl Clone for ForexHistorical
Source§fn clone(&self) -> ForexHistorical
fn clone(&self) -> ForexHistorical
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 ForexHistorical
impl Debug for ForexHistorical
Source§impl<'de> Deserialize<'de> for ForexHistorical
impl<'de> Deserialize<'de> for ForexHistorical
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 ForexHistorical
impl RefUnwindSafe for ForexHistorical
impl Send for ForexHistorical
impl Sync for ForexHistorical
impl Unpin for ForexHistorical
impl UnwindSafe for ForexHistorical
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