pub struct DepthResponse {
pub last_update_id: Option<i64>,
pub bids: Option<Vec<Vec<String>>>,
pub asks: Option<Vec<Vec<String>>>,
}Fields§
§last_update_id: Option<i64>§bids: Option<Vec<Vec<String>>>§asks: Option<Vec<Vec<String>>>Implementations§
Source§impl DepthResponse
impl DepthResponse
pub fn new() -> DepthResponse
Trait Implementations§
Source§impl Clone for DepthResponse
impl Clone for DepthResponse
Source§fn clone(&self) -> DepthResponse
fn clone(&self) -> DepthResponse
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 DepthResponse
impl Debug for DepthResponse
Source§impl Default for DepthResponse
impl Default for DepthResponse
Source§fn default() -> DepthResponse
fn default() -> DepthResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DepthResponse
impl<'de> Deserialize<'de> for DepthResponse
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 DepthResponse
impl PartialEq for DepthResponse
Source§fn eq(&self, other: &DepthResponse) -> bool
fn eq(&self, other: &DepthResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DepthResponse
impl Serialize for DepthResponse
impl StructuralPartialEq for DepthResponse
Auto Trait Implementations§
impl Freeze for DepthResponse
impl RefUnwindSafe for DepthResponse
impl Send for DepthResponse
impl Sync for DepthResponse
impl Unpin for DepthResponse
impl UnsafeUnpin for DepthResponse
impl UnwindSafe for DepthResponse
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