bybit/models/liability_qty.rs
1use crate::prelude::*;
2
3/// Summarizes repayment quantities for borrowed liabilities.
4///
5/// Part of the `RepayLiabilityResponse`, this struct contains a list of repayment details for each currency. Bots use this to confirm the amounts repaid and update account status.
6#[derive(Debug, Serialize, Deserialize, Clone)]
7pub struct LiabilityQty {
8 /// A list of repayment records.
9 ///
10 /// Contains details of the repaid amounts for each currency. Bots use this to verify repayment completion and update liability tracking.
11 pub list: Vec<LiabilityQtyData>,
12}