pub struct Ticker24h {Show 21 fields
pub symbol: String,
pub price_change: f64,
pub price_change_percent: f64,
pub weighted_avg_price: f64,
pub prev_close_price: f64,
pub last_price: f64,
pub last_qty: f64,
pub bid_price: f64,
pub bid_qty: f64,
pub ask_price: f64,
pub ask_qty: f64,
pub open_price: f64,
pub high_price: f64,
pub low_price: f64,
pub volume: f64,
pub quote_volume: f64,
pub open_time: u64,
pub close_time: u64,
pub first_id: i64,
pub last_id: i64,
pub count: u64,
}Expand description
24hr ticker price change statistics.
Fields§
§symbol: StringSymbol.
price_change: f64Price change.
price_change_percent: f64Price change percent.
weighted_avg_price: f64Weighted average price.
prev_close_price: f64Previous close price.
last_price: f64Last price.
last_qty: f64Last quantity.
bid_price: f64Bid price.
bid_qty: f64Bid quantity.
ask_price: f64Ask price.
ask_qty: f64Ask quantity.
open_price: f64Open price.
high_price: f64High price.
low_price: f64Low price.
volume: f64Total volume.
quote_volume: f64Quote volume.
open_time: u64Open time.
close_time: u64Close time.
first_id: i64First trade ID.
last_id: i64Last trade ID.
count: u64Trade count.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Ticker24h
impl<'de> Deserialize<'de> for Ticker24h
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 Ticker24h
impl RefUnwindSafe for Ticker24h
impl Send for Ticker24h
impl Sync for Ticker24h
impl Unpin for Ticker24h
impl UnwindSafe for Ticker24h
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