Struct binance::ws_model::DayTickerEvent
source · [−]pub struct DayTickerEvent {Show 22 fields
pub event_time: u64,
pub symbol: String,
pub price_change: String,
pub price_change_percent: String,
pub average_price: String,
pub prev_close: String,
pub current_close: String,
pub current_close_qty: String,
pub best_bid: String,
pub best_bid_qty: String,
pub best_ask: String,
pub best_ask_qty: String,
pub open: String,
pub high: String,
pub low: String,
pub volume: String,
pub quote_volume: String,
pub open_time: u64,
pub close_time: u64,
pub first_trade_id: i64,
pub last_trade_id: i64,
pub num_trades: u64,
}Fields
event_time: u64symbol: Stringprice_change: Stringprice_change_percent: Stringaverage_price: Stringprev_close: Stringcurrent_close: Stringcurrent_close_qty: Stringbest_bid: Stringbest_bid_qty: Stringbest_ask: Stringbest_ask_qty: Stringopen: Stringhigh: Stringlow: Stringvolume: Stringquote_volume: Stringopen_time: u64close_time: u64first_trade_id: i64last_trade_id: i64num_trades: u64Trait Implementations
sourceimpl Clone for DayTickerEvent
impl Clone for DayTickerEvent
sourcefn clone(&self) -> DayTickerEvent
fn clone(&self) -> DayTickerEvent
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for DayTickerEvent
impl Debug for DayTickerEvent
sourceimpl<'de> Deserialize<'de> for DayTickerEvent
impl<'de> Deserialize<'de> for DayTickerEvent
sourcefn 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
sourceimpl Serialize for DayTickerEvent
impl Serialize for DayTickerEvent
Auto Trait Implementations
impl RefUnwindSafe for DayTickerEvent
impl Send for DayTickerEvent
impl Sync for DayTickerEvent
impl Unpin for DayTickerEvent
impl UnwindSafe for DayTickerEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more