openxapi-binance 0.2.0

Rust client for Binance API
Documentation
/*
 * Binance Spot API
 *
 * OpenAPI specification for Binance exchange - Spot API
 *
 * The version of the OpenAPI document: 0.2.0
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::spot::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CreateSubAccountFuturesEnableV1Resp {
    #[serde(rename = "email", skip_serializing_if = "Option::is_none")]
    pub email: Option<String>,
    #[serde(rename = "isFuturesEnabled", skip_serializing_if = "Option::is_none")]
    pub is_futures_enabled: Option<bool>,
}

impl CreateSubAccountFuturesEnableV1Resp {
    pub fn new() -> CreateSubAccountFuturesEnableV1Resp {
        CreateSubAccountFuturesEnableV1Resp {
            email: None,
            is_futures_enabled: None,
        }
    }
}