Skip to main content

bybit/models/
collateral_info_list.rs

1use crate::prelude::*;
2
3/// Summarizes collateral information for an account.
4///
5/// Part of the `CollateralInfoResponse`, this struct contains a list of collateral details for each coin. Bots use this to assess collateral eligibility and borrowing capabilities.
6#[derive(Debug, Serialize, Deserialize, Clone)]
7#[serde(rename_all = "camelCase")]
8pub struct CollateralInfoList {
9    /// A list of collateral information records.
10    ///
11    /// Contains detailed data for each coin, such as borrowing limits and collateral status. Bots use this to optimize collateral allocation and manage margin.
12    pub list: Vec<CollateralInfo>,
13}