pub struct TickerResponseData {Show 16 fields
pub symbol: Option<String>,
pub price_change: Option<String>,
pub price_change_percent: Option<String>,
pub weighted_avg_price: Option<String>,
pub last_price: Option<String>,
pub last_qty: Option<String>,
pub open_price: Option<String>,
pub high_price: Option<String>,
pub low_price: Option<String>,
pub volume: Option<String>,
pub quote_volume: Option<String>,
pub open_time: Option<i64>,
pub close_time: Option<i64>,
pub first_id: Option<i64>,
pub last_id: Option<i64>,
pub count: Option<i64>,
}Expand description
TickerResponseData : 24-hour rolling window ticker statistics.
Fields§
§symbol: Option<String>Trading pair symbol.
price_change: Option<String>Absolute price change in the 24h window.
price_change_percent: Option<String>Percentage price change in the 24h window.
weighted_avg_price: Option<String>Weighted average price in the 24h window.
last_price: Option<String>Latest traded price.
last_qty: Option<String>Quantity of the latest trade.
open_price: Option<String>Opening price of the 24h window.
high_price: Option<String>Highest price in the 24h window.
low_price: Option<String>Lowest price in the 24h window.
volume: Option<String>Base asset volume in the 24h window.
quote_volume: Option<String>Quote asset volume in the 24h window.
open_time: Option<i64>Start time of the 24h window (milliseconds).
close_time: Option<i64>End time of the 24h window (milliseconds).
first_id: Option<i64>First trade ID in the 24h window.
last_id: Option<i64>Last trade ID in the 24h window.
count: Option<i64>Total number of trades in the 24h window.
Implementations§
Source§impl TickerResponseData
impl TickerResponseData
Sourcepub fn new() -> TickerResponseData
pub fn new() -> TickerResponseData
24-hour rolling window ticker statistics.
Trait Implementations§
Source§impl Clone for TickerResponseData
impl Clone for TickerResponseData
Source§fn clone(&self) -> TickerResponseData
fn clone(&self) -> TickerResponseData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TickerResponseData
impl Debug for TickerResponseData
Source§impl Default for TickerResponseData
impl Default for TickerResponseData
Source§fn default() -> TickerResponseData
fn default() -> TickerResponseData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TickerResponseData
impl<'de> Deserialize<'de> for TickerResponseData
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 TickerResponseData
impl PartialEq for TickerResponseData
Source§impl Serialize for TickerResponseData
impl Serialize for TickerResponseData
impl StructuralPartialEq for TickerResponseData
Auto Trait Implementations§
impl Freeze for TickerResponseData
impl RefUnwindSafe for TickerResponseData
impl Send for TickerResponseData
impl Sync for TickerResponseData
impl Unpin for TickerResponseData
impl UnsafeUnpin for TickerResponseData
impl UnwindSafe for TickerResponseData
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