openxapi-binance 0.2.2

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

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CreateBrokerSubAccountV1Resp {
    #[serde(rename = "email", skip_serializing_if = "Option::is_none")]
    pub email: Option<String>,
    #[serde(rename = "subaccountId", skip_serializing_if = "Option::is_none")]
    pub subaccount_id: Option<String>,
    #[serde(rename = "tag", skip_serializing_if = "Option::is_none")]
    pub tag: Option<String>,
}

impl CreateBrokerSubAccountV1Resp {
    pub fn new() -> CreateBrokerSubAccountV1Resp {
        CreateBrokerSubAccountV1Resp {
            email: None,
            subaccount_id: None,
            tag: None,
        }
    }
}