tinkoff_api/models/
user_account.rs

1/*
2 * OpenAPI
3 *
4 * tinkoff.ru/invest OpenAPI.
5 *
6 * The version of the OpenAPI document: 1.0.0
7 * Contact: al.a.volkov@tinkoff.ru
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
15pub struct UserAccount {
16    #[serde(rename = "brokerAccountType")]
17    pub broker_account_type: crate::models::BrokerAccountType,
18    #[serde(rename = "brokerAccountId")]
19    pub broker_account_id: String,
20}
21
22impl UserAccount {
23    pub fn new(broker_account_type: crate::models::BrokerAccountType, broker_account_id: String) -> UserAccount {
24        UserAccount {
25            broker_account_type,
26            broker_account_id,
27        }
28    }
29}
30
31