binance_client/http_api_v3/data/account/
balance.rs

1//!
2//! The account balance.
3//!
4
5use rust_decimal::Decimal;
6use serde::Deserialize;
7
8///
9/// The account balance.
10///
11#[derive(Debug, Deserialize, Clone)]
12#[serde(rename_all = "camelCase")]
13pub struct Balance {
14    /// The token name.
15    pub asset: String,
16    /// The free balance amount, which can be used in trades.
17    pub free: Decimal,
18    /// The locked balance amount, which is unavailable at the moment.
19    pub locked: Decimal,
20}