Struct binance::ws_model::BookTickerEvent
source · pub struct BookTickerEvent {
pub update_id: u64,
pub symbol: String,
pub best_bid: f64,
pub best_bid_qty: f64,
pub best_ask: f64,
pub best_ask_qty: f64,
}Fields§
§update_id: u64§symbol: String§best_bid: f64§best_bid_qty: f64§best_ask: f64§best_ask_qty: f64Trait Implementations§
source§impl Clone for BookTickerEvent
impl Clone for BookTickerEvent
source§fn clone(&self) -> BookTickerEvent
fn clone(&self) -> BookTickerEvent
Returns a copy 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 BookTickerEvent
impl Debug for BookTickerEvent
source§impl<'de> Deserialize<'de> for BookTickerEvent
impl<'de> Deserialize<'de> for BookTickerEvent
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