pub struct TickerEvent {Show 18 fields
pub event_type: String,
pub event_time: u64,
pub symbol: String,
pub price_change: String,
pub price_change_percent: String,
pub weighted_avg_price: String,
pub last_price: String,
pub last_qty: String,
pub open_price: String,
pub high_price: String,
pub low_price: 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 trade_count: u64,
}Expand description
Full 24-hour ticker event — dispatched when "e": "24hrTicker".
Fields§
§event_type: String§event_time: u64§symbol: String§price_change: String§price_change_percent: String§weighted_avg_price: String§last_price: String§last_qty: String§open_price: String§high_price: String§low_price: String§volume: String§quote_volume: String§open_time: u64§close_time: u64§first_trade_id: i64§last_trade_id: i64§trade_count: u64Trait Implementations§
Source§impl Debug for TickerEvent
impl Debug for TickerEvent
Source§impl<'de> Deserialize<'de> for TickerEvent
impl<'de> Deserialize<'de> for TickerEvent
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 TickerEvent
impl RefUnwindSafe for TickerEvent
impl Send for TickerEvent
impl Sync for TickerEvent
impl Unpin for TickerEvent
impl UnsafeUnpin for TickerEvent
impl UnwindSafe for TickerEvent
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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