binance/options/apis/
configuration.rs

1/*
2 * Binance Options API
3 *
4 * OpenAPI specification for Binance exchange - Options API
5 *
6 * The version of the OpenAPI document: 0.3.0
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12pub use super::signing::*;
13
14#[derive(Debug, Clone)]
15pub struct Configuration {
16    pub base_path: String,
17    pub user_agent: Option<String>,
18    pub client: reqwest::Client,
19    pub binance_auth: Option<BinanceAuth>,
20}
21
22impl Configuration {
23    pub fn new() -> Configuration {
24        Configuration::default()
25    }
26}
27
28impl Default for Configuration {
29    fn default() -> Self {
30        Configuration {
31            base_path: "https://eapi.binance.com".to_owned(),
32            user_agent: Some("OpenAPI-Generator/0.3.0/rust".to_owned()),
33            client: reqwest::Client::new(),
34            binance_auth: None,
35        }
36    }
37}