pub struct FullDepthResponseData {
pub last_update_id: Option<i64>,
pub symbol: Option<String>,
pub bids: Option<Vec<Vec<String>>>,
pub asks: Option<Vec<Vec<String>>>,
pub e_uppercase: Option<i64>,
pub t_uppercase: Option<i64>,
}Expand description
FullDepthResponseData : Order book data.
Fields§
§last_update_id: Option<i64>Last order book update ID.
symbol: Option<String>Trading pair symbol.
bids: Option<Vec<Vec<String>>>Bid orders. Each entry is [price, quantity].
asks: Option<Vec<Vec<String>>>Ask orders. Each entry is [price, quantity].
e_uppercase: Option<i64>Event time in milliseconds.
t_uppercase: Option<i64>Transaction time in milliseconds.
Implementations§
Source§impl FullDepthResponseData
impl FullDepthResponseData
Sourcepub fn new() -> FullDepthResponseData
pub fn new() -> FullDepthResponseData
Order book data.
Trait Implementations§
Source§impl Clone for FullDepthResponseData
impl Clone for FullDepthResponseData
Source§fn clone(&self) -> FullDepthResponseData
fn clone(&self) -> FullDepthResponseData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FullDepthResponseData
impl Debug for FullDepthResponseData
Source§impl Default for FullDepthResponseData
impl Default for FullDepthResponseData
Source§fn default() -> FullDepthResponseData
fn default() -> FullDepthResponseData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FullDepthResponseData
impl<'de> Deserialize<'de> for FullDepthResponseData
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
Source§impl PartialEq for FullDepthResponseData
impl PartialEq for FullDepthResponseData
Source§impl Serialize for FullDepthResponseData
impl Serialize for FullDepthResponseData
impl StructuralPartialEq for FullDepthResponseData
Auto Trait Implementations§
impl Freeze for FullDepthResponseData
impl RefUnwindSafe for FullDepthResponseData
impl Send for FullDepthResponseData
impl Sync for FullDepthResponseData
impl Unpin for FullDepthResponseData
impl UnsafeUnpin for FullDepthResponseData
impl UnwindSafe for FullDepthResponseData
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