pub struct TickerStats {
pub volume: f64,
pub volume_usd: Option<f64>,
pub price_change: Option<f64>,
pub high: Option<f64>,
pub low: Option<f64>,
}Expand description
Ticker stats sub-structure
Fields§
§volume: f64Trading volume
volume_usd: Option<f64>Trading volume in USD
price_change: Option<f64>Price change from previous period
high: Option<f64>Highest price in the period
low: Option<f64>Lowest price in the period
Trait Implementations§
Source§impl Clone for TickerStats
impl Clone for TickerStats
Source§fn clone(&self) -> TickerStats
fn clone(&self) -> TickerStats
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 TickerStats
impl Debug for TickerStats
Source§impl<'de> Deserialize<'de> for TickerStats
impl<'de> Deserialize<'de> for TickerStats
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
Source§impl Display for TickerStats
impl Display for TickerStats
Auto Trait Implementations§
impl Freeze for TickerStats
impl RefUnwindSafe for TickerStats
impl Send for TickerStats
impl Sync for TickerStats
impl Unpin for TickerStats
impl UnwindSafe for TickerStats
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