pub struct PriceHistoryPoint {
pub t: i64,
pub p: f64,
}Expand description
Historical price point
Fields§
§t: i64Unix timestamp
p: f64Price value
Trait Implementations§
Source§impl Clone for PriceHistoryPoint
impl Clone for PriceHistoryPoint
Source§fn clone(&self) -> PriceHistoryPoint
fn clone(&self) -> PriceHistoryPoint
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 PriceHistoryPoint
impl Debug for PriceHistoryPoint
Source§impl<'de> Deserialize<'de> for PriceHistoryPoint
impl<'de> Deserialize<'de> for PriceHistoryPoint
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 PriceHistoryPoint
impl RefUnwindSafe for PriceHistoryPoint
impl Send for PriceHistoryPoint
impl Sync for PriceHistoryPoint
impl Unpin for PriceHistoryPoint
impl UnwindSafe for PriceHistoryPoint
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