binance-client 1.7.0

The Binance cryptocurrency exchange client
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//!
//! A single depth element.
//!

use rust_decimal::Decimal;
use serde::Deserialize;

///
/// A single depth element.
///
#[derive(Debug, Deserialize, Clone)]
#[serde(rename_all = "camelCase")]
pub struct DepthElement {
    /// The depth level price.
    pub price: Decimal,
    /// The depth level quantity in secondary token.
    pub quantity: Decimal,
}