bybit/models/wallet_list.rs
1use crate::prelude::*;
2
3/// Summarizes wallet balance data for an account.
4///
5/// Part of the `WalletResponse`, this struct contains a list of wallet data entries for different account types or currencies. Bots use this to monitor overall account health and margin availability.
6#[derive(Deserialize, Serialize, Clone, Debug)]
7pub struct WalletList {
8 /// A list of wallet data entries.
9 ///
10 /// Contains detailed balance and margin information for each account type or currency. Bots use this to calculate available margin and manage risk across assets.
11 pub list: Vec<WalletData>,
12}