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