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