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 GetEthStakingAccountV2RespProfit {
    #[serde(rename = "amountFromBETH", skip_serializing_if = "Option::is_none")]
    pub amount_from_beth: Option<String>,
    #[serde(rename = "amountFromWBETH", skip_serializing_if = "Option::is_none")]
    pub amount_from_wbeth: Option<String>,
}

impl GetEthStakingAccountV2RespProfit {
    pub fn new() -> GetEthStakingAccountV2RespProfit {
        GetEthStakingAccountV2RespProfit {
            amount_from_beth: None,
            amount_from_wbeth: None,
        }
    }
}