tinkoff_api/models/
user_account.rs1#[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