pub struct PairSummary {
pub trading_pairs: String,
pub base_currency: String,
pub quote_currency: String,
pub last_price: f64,
pub lowest_ask: f64,
pub highest_bid: f64,
pub base_volume: f64,
pub quote_volume: f64,
pub price_change_percent_24h: f64,
pub highest_price_24h: f64,
pub lowest_price_24h: f64,
}Expand description
Pair summary from GET /v1/aggregated/summary.
Fields§
§trading_pairs: String§base_currency: String§quote_currency: String§last_price: f64§lowest_ask: f64§highest_bid: f64§base_volume: f64§quote_volume: f64§price_change_percent_24h: f64§highest_price_24h: f64§lowest_price_24h: f64Trait Implementations§
Source§impl Clone for PairSummary
impl Clone for PairSummary
Source§fn clone(&self) -> PairSummary
fn clone(&self) -> PairSummary
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 PairSummary
impl Debug for PairSummary
Source§impl<'de> Deserialize<'de> for PairSummary
impl<'de> Deserialize<'de> for PairSummary
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 PairSummary
impl RefUnwindSafe for PairSummary
impl Send for PairSummary
impl Sync for PairSummary
impl Unpin for PairSummary
impl UnwindSafe for PairSummary
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