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 GetAssetWalletBalanceV1RespItem {
    #[serde(rename = "activate", skip_serializing_if = "Option::is_none")]
    pub activate: Option<bool>,
    #[serde(rename = "balance", skip_serializing_if = "Option::is_none")]
    pub balance: Option<String>,
    #[serde(rename = "walletName", skip_serializing_if = "Option::is_none")]
    pub wallet_name: Option<String>,
}

impl GetAssetWalletBalanceV1RespItem {
    pub fn new() -> GetAssetWalletBalanceV1RespItem {
        GetAssetWalletBalanceV1RespItem {
            activate: None,
            balance: None,
            wallet_name: None,
        }
    }
}