openxapi-binance 0.1.2

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

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct SubaccountGetManagedSubaccountInfoV1Resp {
    #[serde(rename = "managerSubUserInfoVoList", skip_serializing_if = "Option::is_none")]
    pub manager_sub_user_info_vo_list: Option<Vec<models::SubaccountGetManagedSubaccountInfoV1RespManagerSubUserInfoVoListInner>>,
    #[serde(rename = "total", skip_serializing_if = "Option::is_none")]
    pub total: Option<i32>,
}

impl SubaccountGetManagedSubaccountInfoV1Resp {
    pub fn new() -> SubaccountGetManagedSubaccountInfoV1Resp {
        SubaccountGetManagedSubaccountInfoV1Resp {
            manager_sub_user_info_vo_list: None,
            total: None,
        }
    }
}