pub struct PricePoint {
pub timestamp: DateTime<Utc>,
pub price: f64,
pub raw: Value,
}Fields§
§timestamp: DateTime<Utc>§price: f64§raw: ValueTrait Implementations§
Source§impl Clone for PricePoint
impl Clone for PricePoint
Source§fn clone(&self) -> PricePoint
fn clone(&self) -> PricePoint
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 PricePoint
impl Debug for PricePoint
Source§impl<'de> Deserialize<'de> for PricePoint
impl<'de> Deserialize<'de> for PricePoint
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 PricePoint
impl RefUnwindSafe for PricePoint
impl Send for PricePoint
impl Sync for PricePoint
impl Unpin for PricePoint
impl UnwindSafe for PricePoint
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