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 GetMiningPaymentOtherV1RespData {
    #[serde(rename = "otherProfits", skip_serializing_if = "Option::is_none")]
    pub other_profits: Option<Vec<models::GetMiningPaymentOtherV1RespDataOtherProfitsInner>>,
    #[serde(rename = "pageSize", skip_serializing_if = "Option::is_none")]
    pub page_size: Option<i32>,
    #[serde(rename = "totalNum", skip_serializing_if = "Option::is_none")]
    pub total_num: Option<i32>,
}

impl GetMiningPaymentOtherV1RespData {
    pub fn new() -> GetMiningPaymentOtherV1RespData {
        GetMiningPaymentOtherV1RespData {
            other_profits: None,
            page_size: None,
            total_num: None,
        }
    }
}