pub struct MarketSummary {
pub market_id: MarketId,
pub high_price: Option<u64>,
pub low_price: Option<u64>,
pub last_price: Option<u64>,
pub volume_24h: u128,
pub change_24h: f64,
}Expand description
Market summary from GET /v1/markets/summary.
Fields§
§market_id: MarketId§high_price: Option<u64>§low_price: Option<u64>§last_price: Option<u64>§volume_24h: u128§change_24h: f64Trait Implementations§
Source§impl Clone for MarketSummary
impl Clone for MarketSummary
Source§fn clone(&self) -> MarketSummary
fn clone(&self) -> MarketSummary
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 MarketSummary
impl Debug for MarketSummary
Source§impl<'de> Deserialize<'de> for MarketSummary
impl<'de> Deserialize<'de> for MarketSummary
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 MarketSummary
impl RefUnwindSafe for MarketSummary
impl Send for MarketSummary
impl Sync for MarketSummary
impl Unpin for MarketSummary
impl UnwindSafe for MarketSummary
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