pub struct PairTicker {
pub ticker_id: String,
pub base_currency: String,
pub target_currency: String,
pub last_price: f64,
pub base_volume: f64,
pub target_volume: f64,
pub bid: f64,
pub ask: f64,
pub high: f64,
pub low: f64,
}Expand description
Pair ticker from GET /v1/aggregated/coingecko/tickers.
Fields§
§ticker_id: String§base_currency: String§target_currency: String§last_price: f64§base_volume: f64§target_volume: f64§bid: f64§ask: f64§high: f64§low: f64Trait Implementations§
Source§impl Clone for PairTicker
impl Clone for PairTicker
Source§fn clone(&self) -> PairTicker
fn clone(&self) -> PairTicker
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 PairTicker
impl Debug for PairTicker
Source§impl<'de> Deserialize<'de> for PairTicker
impl<'de> Deserialize<'de> for PairTicker
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 PairTicker
impl RefUnwindSafe for PairTicker
impl Send for PairTicker
impl Sync for PairTicker
impl Unpin for PairTicker
impl UnwindSafe for PairTicker
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