tinkoff_api/models/
sandbox_account.rs1#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
15pub struct SandboxAccount {
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 SandboxAccount {
23 pub fn new(broker_account_type: crate::models::BrokerAccountType, broker_account_id: String) -> SandboxAccount {
24 SandboxAccount {
25 broker_account_type,
26 broker_account_id,
27 }
28 }
29}
30
31