binance_client/http_api_v3/data/depth/get/response.rs
1//!
2//! The depth GET response.
3//!
4
5use serde::Deserialize;
6
7use crate::http_api_v3::data::depth_element::DepthElement;
8
9///
10/// The `https://www.binance.com/api/v3/depth` GET response.
11///
12#[derive(Debug, Deserialize, Clone)]
13#[serde(rename_all = "camelCase")]
14pub struct Response {
15 /// The last update ID.
16 pub last_update_id: i64,
17 /// The bids below the current price.
18 pub bids: Vec<DepthElement>,
19 /// The asks above the current price.
20 pub asks: Vec<DepthElement>,
21}