pub struct DepthResponse {
pub asks: Vec<Vec<String>>,
pub bids: Vec<Vec<String>>,
pub last_update_id: i64,
}
Expand description
DepthResponse
JSON schema
{
"type": "object",
"required": [
"asks",
"bids",
"lastUpdateId"
],
"properties": {
"asks": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"maxItems": 2,
"minItems": 2
}
}
},
"bids": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"maxItems": 2,
"minItems": 2
}
}
},
"lastUpdateId": {
"type": "integer",
"format": "int64"
}
}
}
Fields§
§asks: Vec<Vec<String>>
§bids: Vec<Vec<String>>
§last_update_id: i64
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 · 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<'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 From<&DepthResponse> for DepthResponse
impl From<&DepthResponse> for DepthResponse
Source§fn from(value: &DepthResponse) -> Self
fn from(value: &DepthResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DepthResponse
impl RefUnwindSafe for DepthResponse
impl Send for DepthResponse
impl Sync for DepthResponse
impl Unpin 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