Skip to main content

binance_sdk/wallet/rest_api/models/
daily_account_snapshot_response.rs

1/*
2 * Binance Wallet REST API
3 *
4 * OpenAPI Specification for the Binance Wallet REST API
5 *
6 * The version of the OpenAPI document: 1.0.0
7 *
8 *
9 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10 * https://openapi-generator.tech
11 * Do not edit the class manually.
12 */
13
14#![allow(unused_imports)]
15use crate::wallet::rest_api::models;
16use serde::{Deserialize, Serialize};
17
18#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
19pub struct DailyAccountSnapshotResponse {
20    #[serde(rename = "code", skip_serializing_if = "Option::is_none")]
21    pub code: Option<i64>,
22    #[serde(rename = "msg", skip_serializing_if = "Option::is_none")]
23    pub msg: Option<String>,
24    #[serde(rename = "snapshotVos", skip_serializing_if = "Option::is_none")]
25    pub snapshot_vos: Option<Vec<models::DailyAccountSnapshotResponseSnapshotVosInner>>,
26}
27
28impl DailyAccountSnapshotResponse {
29    #[must_use]
30    pub fn new() -> DailyAccountSnapshotResponse {
31        DailyAccountSnapshotResponse {
32            code: None,
33            msg: None,
34            snapshot_vos: None,
35        }
36    }
37}