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