1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
//!
//! The exchange info GET response.
//!

use serde::Deserialize;

use crate::data::exchange_info::symbol::Symbol;

///
/// The `https://www.binance.com/api/v3/exchangeInfo` GET response.
///
#[derive(Debug, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Response {
    /// The server timezone name.
    pub timezone: String,
    /// The server time in milliseconds since Unix epoch.
    pub server_time: i64,
    /// The trading symbol data.
    pub symbols: Vec<Symbol>,
}