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: u64symbol: Stringbest_bid: f64best_bid_qty: f64best_ask: f64best_ask_qty: f64Trait Implementations
sourceimpl Clone for BookTickerEvent
impl Clone for BookTickerEvent
sourcefn clone(&self) -> BookTickerEvent
fn clone(&self) -> BookTickerEvent
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 BookTickerEvent
impl Debug for BookTickerEvent
sourceimpl<'de> Deserialize<'de> for BookTickerEvent
impl<'de> Deserialize<'de> for BookTickerEvent
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 BookTickerEvent
impl Serialize for BookTickerEvent
Auto Trait Implementations
impl RefUnwindSafe for BookTickerEvent
impl Send for BookTickerEvent
impl Sync for BookTickerEvent
impl Unpin for BookTickerEvent
impl UnwindSafe for BookTickerEvent
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