openxapi-binance 0.1.2

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

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct SpotGetAvgPriceV3Resp {
    #[serde(rename = "closeTime", skip_serializing_if = "Option::is_none")]
    pub close_time: Option<i64>,
    #[serde(rename = "mins", skip_serializing_if = "Option::is_none")]
    pub mins: Option<i32>,
    #[serde(rename = "price", skip_serializing_if = "Option::is_none")]
    pub price: Option<String>,
}

impl SpotGetAvgPriceV3Resp {
    pub fn new() -> SpotGetAvgPriceV3Resp {
        SpotGetAvgPriceV3Resp {
            close_time: None,
            mins: None,
            price: None,
        }
    }
}