tinkoff_api/models/user_accounts.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 UserAccounts {
16 #[serde(rename = "accounts")]
17 pub accounts: Vec<crate::models::UserAccount>,
18}
19
20impl UserAccounts {
21 pub fn new(accounts: Vec<crate::models::UserAccount>) -> UserAccounts {
22 UserAccounts {
23 accounts,
24 }
25 }
26}
27
28