pub struct Ticker {Show 20 fields
pub base: String,
pub target: String,
pub market: Market,
pub last: f64,
pub volume: f64,
pub converted_last: ConvertedLast,
pub converted_volume: ConvertedVolume,
pub cost_to_move_up_usd: Option<f64>,
pub cost_to_move_down_usd: Option<f64>,
pub trust_score: Option<String>,
pub bid_ask_spread_percentage: Option<f64>,
pub timestamp: Option<String>,
pub last_traded_at: Option<String>,
pub last_fetch_at: Option<String>,
pub is_anomaly: bool,
pub is_stale: bool,
pub trade_url: Option<String>,
pub token_info_url: Option<String>,
pub coin_id: String,
pub target_coin_id: Option<String>,
}Fields§
§base: String§target: String§market: Market§last: f64§volume: f64§converted_last: ConvertedLast§converted_volume: ConvertedVolume§cost_to_move_up_usd: Option<f64>§cost_to_move_down_usd: Option<f64>§trust_score: Option<String>§bid_ask_spread_percentage: Option<f64>§timestamp: Option<String>§last_traded_at: Option<String>§last_fetch_at: Option<String>§is_anomaly: bool§is_stale: bool§trade_url: Option<String>§token_info_url: Option<String>§coin_id: String§target_coin_id: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Ticker
impl<'de> Deserialize<'de> for Ticker
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 Ticker
impl RefUnwindSafe for Ticker
impl Send for Ticker
impl Sync for Ticker
impl Unpin for Ticker
impl UnsafeUnpin for Ticker
impl UnwindSafe for Ticker
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