openxapi-binance 0.3.0

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

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CreateGiftcardBuyCodeV1RespData {
    #[serde(rename = "code", skip_serializing_if = "Option::is_none")]
    pub code: Option<String>,
    #[serde(rename = "expiredTime", skip_serializing_if = "Option::is_none")]
    pub expired_time: Option<i64>,
    #[serde(rename = "referenceNo", skip_serializing_if = "Option::is_none")]
    pub reference_no: Option<String>,
}

impl CreateGiftcardBuyCodeV1RespData {
    pub fn new() -> CreateGiftcardBuyCodeV1RespData {
        CreateGiftcardBuyCodeV1RespData {
            code: None,
            expired_time: None,
            reference_no: None,
        }
    }
}