pub struct LiabilityQtyData {
pub coin: String,
pub repayment_qty: f64,
}Expand description
Represents a single repayment record for a currency.
Details the amount repaid for a specific currency. Bots use this to confirm repayment amounts and update account balance calculations.
Fields§
§coin: StringThe currency of the repayment (e.g., “USDT”).
Specifies the currency used for the repayment. Bots should verify this matches the expected currency.
repayment_qty: f64The quantity repaid.
The amount of the currency repaid to reduce the borrowed liability. Bots use this to update liability tracking and account balances.
Trait Implementations§
Source§impl Clone for LiabilityQtyData
impl Clone for LiabilityQtyData
Source§fn clone(&self) -> LiabilityQtyData
fn clone(&self) -> LiabilityQtyData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LiabilityQtyData
impl Debug for LiabilityQtyData
Source§impl<'de> Deserialize<'de> for LiabilityQtyData
impl<'de> Deserialize<'de> for LiabilityQtyData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LiabilityQtyData
impl RefUnwindSafe for LiabilityQtyData
impl Send for LiabilityQtyData
impl Sync for LiabilityQtyData
impl Unpin for LiabilityQtyData
impl UnsafeUnpin for LiabilityQtyData
impl UnwindSafe for LiabilityQtyData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more