pub struct BinanceSpotTicker24hr {Show 21 fields
pub symbol: Ustr,
pub price_change: String,
pub price_change_percent: String,
pub weighted_avg_price: String,
pub prev_close_price: Option<String>,
pub last_price: String,
pub last_qty: Option<String>,
pub bid_price: String,
pub bid_qty: Option<String>,
pub ask_price: String,
pub ask_qty: Option<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: Option<i64>,
pub last_id: Option<i64>,
pub count: Option<i64>,
}Expand description
24hr ticker price change statistics for spot.
§References
Fields§
§symbol: UstrSymbol name.
price_change: StringPrice change in quote asset.
price_change_percent: StringPrice change percentage.
weighted_avg_price: StringWeighted average price.
prev_close_price: Option<String>Previous close price.
last_price: StringLast traded price.
last_qty: Option<String>Last traded quantity.
bid_price: StringBest bid price.
bid_qty: Option<String>Best bid quantity.
ask_price: StringBest ask price.
ask_qty: Option<String>Best ask quantity.
open_price: StringOpening price.
high_price: StringHighest price.
low_price: StringLowest price.
volume: StringTotal traded base asset volume.
quote_volume: StringTotal traded quote asset volume.
open_time: i64Statistics open time.
close_time: i64Statistics close time.
first_id: Option<i64>First trade ID.
last_id: Option<i64>Last trade ID.
count: Option<i64>Total number of trades.
Trait Implementations§
Source§impl Clone for BinanceSpotTicker24hr
impl Clone for BinanceSpotTicker24hr
Source§fn clone(&self) -> BinanceSpotTicker24hr
fn clone(&self) -> BinanceSpotTicker24hr
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BinanceSpotTicker24hr
impl Debug for BinanceSpotTicker24hr
Source§impl<'de> Deserialize<'de> for BinanceSpotTicker24hr
impl<'de> Deserialize<'de> for BinanceSpotTicker24hr
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 BinanceSpotTicker24hr
impl RefUnwindSafe for BinanceSpotTicker24hr
impl Send for BinanceSpotTicker24hr
impl Sync for BinanceSpotTicker24hr
impl Unpin for BinanceSpotTicker24hr
impl UnwindSafe for BinanceSpotTicker24hr
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)§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