pub struct Ticker24hr {Show 21 fields
pub symbol: String,
pub price_change: String,
pub price_change_percent: String,
pub weighted_avg_price: String,
pub prev_close_price: String,
pub last_price: String,
pub last_qty: String,
pub bid_price: String,
pub bid_qty: String,
pub ask_price: String,
pub ask_qty: String,
pub open_price: String,
pub high_price: String,
pub low_price: String,
pub volume: String,
pub quote_volume: String,
pub open_time: i64,
pub close_time: i64,
pub first_id: i64,
pub last_id: i64,
pub count: i64,
}Expand description
24-hour ticker statistics response.
Fields§
§symbol: StringTrading pair symbol.
price_change: StringPrice change in the last 24 hours.
price_change_percent: StringPrice change percentage in the last 24 hours.
weighted_avg_price: StringWeighted average price.
prev_close_price: StringPrevious close price.
last_price: StringLast price.
last_qty: StringLast quantity.
bid_price: StringBest bid price.
bid_qty: StringBest bid quantity.
ask_price: StringBest ask price.
ask_qty: StringBest ask quantity.
open_price: StringOpen price.
high_price: StringHigh price.
low_price: StringLow price.
volume: StringTotal traded base asset volume.
quote_volume: StringTotal traded quote asset volume.
open_time: i64Statistics open time in milliseconds.
close_time: i64Statistics close time in milliseconds.
first_id: i64First trade ID.
last_id: i64Last trade ID.
count: i64Number of trades.
Trait Implementations§
Source§impl Clone for Ticker24hr
impl Clone for Ticker24hr
Source§fn clone(&self) -> Ticker24hr
fn clone(&self) -> Ticker24hr
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 Ticker24hr
impl Debug for Ticker24hr
Source§impl<'de> Deserialize<'de> for Ticker24hr
impl<'de> Deserialize<'de> for Ticker24hr
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
Source§impl PartialEq for Ticker24hr
impl PartialEq for Ticker24hr
impl StructuralPartialEq for Ticker24hr
Auto Trait Implementations§
impl Freeze for Ticker24hr
impl RefUnwindSafe for Ticker24hr
impl Send for Ticker24hr
impl Sync for Ticker24hr
impl Unpin for Ticker24hr
impl UnsafeUnpin for Ticker24hr
impl UnwindSafe for Ticker24hr
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more