pub struct MarketStats {
pub market_id: String,
pub volume_24h: f64,
pub trades_24h: u64,
pub high_24h: f64,
pub low_24h: f64,
pub price_change_24h: f64,
pub open_interest: f64,
}Fields§
§market_id: String§volume_24h: f64§trades_24h: u64§high_24h: f64§low_24h: f64§price_change_24h: f64§open_interest: f64Trait Implementations§
Source§impl Clone for MarketStats
impl Clone for MarketStats
Source§fn clone(&self) -> MarketStats
fn clone(&self) -> MarketStats
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 MarketStats
impl Debug for MarketStats
Source§impl<'de> Deserialize<'de> for MarketStats
impl<'de> Deserialize<'de> for MarketStats
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 MarketStats
impl RefUnwindSafe for MarketStats
impl Send for MarketStats
impl Sync for MarketStats
impl Unpin for MarketStats
impl UnsafeUnpin for MarketStats
impl UnwindSafe for MarketStats
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