Struct binance_client::WebSocketDepthEvent[][src]

pub struct WebSocketDepthEvent {
    pub event_type: String,
    pub event_time: i64,
    pub symbol: String,
    pub first_update_id: i64,
    pub last_update_id: i64,
    pub bids: Vec<DepthElement>,
    pub asks: Vec<DepthElement>,
}

The depth data, received via WebSocket.

Fields

event_type: String

The trade event type. Usually equal to depthUpdate.

event_time: i64

The trade event time in milliseconds since Unix epoch.

symbol: String

The trading symbol name.

first_update_id: i64

The first update ID.

last_update_id: i64

The last update ID.

bids: Vec<DepthElement>

The orders below the current price.

asks: Vec<DepthElement>

The orders above the current price.

Trait Implementations

impl Clone for Depth[src]

impl Debug for Depth[src]

impl<'de> Deserialize<'de> for Depth[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err

impl<T> Typeable for T where
    T: Any