Skip to main content

openlimits_binance/model/
account_information.rs

1use serde::Deserialize;
2use serde::Serialize;
3use super::Balance;
4
5/// This struct represents the informations about the account
6#[derive(Debug, Serialize, Deserialize, Clone)]
7#[serde(rename_all = "camelCase")]
8pub struct AccountInformation {
9    pub maker_commission: f32,
10    pub taker_commission: f32,
11    pub buyer_commission: f32,
12    pub seller_commission: f32,
13    pub can_trade: bool,
14    pub can_withdraw: bool,
15    pub can_deposit: bool,
16    pub balances: Vec<Balance>,
17}