binance-sdk 45.0.0

This is a lightweight library that works as a connector to the Binance public API.
/*
 * Binance Wallet REST API
 *
 * OpenAPI Specification for the Binance Wallet REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

#![allow(unused_imports)]
use crate::wallet::rest_api::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct AssetDetailResponseCtr {
    #[serde(rename = "minWithdrawAmount", skip_serializing_if = "Option::is_none")]
    pub min_withdraw_amount: Option<String>,
    #[serde(rename = "depositStatus", skip_serializing_if = "Option::is_none")]
    pub deposit_status: Option<bool>,
    #[serde(rename = "withdrawFee", skip_serializing_if = "Option::is_none")]
    pub withdraw_fee: Option<i64>,
    #[serde(rename = "withdrawStatus", skip_serializing_if = "Option::is_none")]
    pub withdraw_status: Option<bool>,
    #[serde(rename = "depositTip", skip_serializing_if = "Option::is_none")]
    pub deposit_tip: Option<String>,
}

impl AssetDetailResponseCtr {
    #[must_use]
    pub fn new() -> AssetDetailResponseCtr {
        AssetDetailResponseCtr {
            min_withdraw_amount: None,
            deposit_status: None,
            withdraw_fee: None,
            withdraw_status: None,
            deposit_tip: None,
        }
    }
}