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 CreateBnbBurnV1Resp {
    #[serde(rename = "interestBNBBurn", skip_serializing_if = "Option::is_none")]
    pub interest_bnb_burn: Option<bool>,
    #[serde(rename = "spotBNBBurn", skip_serializing_if = "Option::is_none")]
    pub spot_bnb_burn: Option<bool>,
}

impl CreateBnbBurnV1Resp {
    pub fn new() -> CreateBnbBurnV1Resp {
        CreateBnbBurnV1Resp {
            interest_bnb_burn: None,
            spot_bnb_burn: None,
        }
    }
}