binance-sdk 70.1.1

This is a lightweight library that works as a connector to the Binance public API.
Documentation
/*
 * Stocks Trading REST API
 *
 * REST APIs for Binance Stocks Trading. All endpoints under `/sapi/v1/equity/_*`.
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

#![allow(unused_imports)]
use crate::stocks::rest_api::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ExchangeInfoResponse {
    /// Always `UTC`.
    #[serde(rename = "timezone", skip_serializing_if = "Option::is_none")]
    pub timezone: Option<String>,
    /// List of tradable symbols with trading rules.
    #[serde(rename = "symbols", skip_serializing_if = "Option::is_none")]
    pub symbols: Option<Vec<models::ExchangeInfoResponseSymbolsInner>>,
}

impl ExchangeInfoResponse {
    #[must_use]
    pub fn new() -> ExchangeInfoResponse {
        ExchangeInfoResponse {
            timezone: None,
            symbols: None,
        }
    }
}