pub struct AveragePrice {
pub mins: u64,
pub price: f64,
}Expand description
Average price response.
Fields§
§mins: u64Number of minutes the average is calculated over.
price: f64Average price.
Trait Implementations§
Source§impl Clone for AveragePrice
impl Clone for AveragePrice
Source§fn clone(&self) -> AveragePrice
fn clone(&self) -> AveragePrice
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 AveragePrice
impl Debug for AveragePrice
Source§impl<'de> Deserialize<'de> for AveragePrice
impl<'de> Deserialize<'de> for AveragePrice
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 AveragePrice
impl RefUnwindSafe for AveragePrice
impl Send for AveragePrice
impl Sync for AveragePrice
impl Unpin for AveragePrice
impl UnwindSafe for AveragePrice
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