binance_client/http_api_v3/data/depth_element.rs
1//!
2//! A single depth element.
3//!
4
5use rust_decimal::Decimal;
6use serde::Deserialize;
7
8///
9/// A single depth element.
10///
11#[derive(Debug, Deserialize, Clone)]
12#[serde(rename_all = "camelCase")]
13pub struct DepthElement {
14 /// The depth level price.
15 pub price: Decimal,
16 /// The depth level quantity in secondary token.
17 pub quantity: Decimal,
18}