pub struct CollateralInfoList {
pub list: Vec<CollateralInfo>,
}Expand description
Summarizes collateral information for an account.
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.
Fields§
§list: Vec<CollateralInfo>A list of collateral information records.
Contains detailed data for each coin, such as borrowing limits and collateral status. Bots use this to optimize collateral allocation and manage margin.
Trait Implementations§
Source§impl Clone for CollateralInfoList
impl Clone for CollateralInfoList
Source§fn clone(&self) -> CollateralInfoList
fn clone(&self) -> CollateralInfoList
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 CollateralInfoList
impl Debug for CollateralInfoList
Source§impl<'de> Deserialize<'de> for CollateralInfoList
impl<'de> Deserialize<'de> for CollateralInfoList
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 CollateralInfoList
impl RefUnwindSafe for CollateralInfoList
impl Send for CollateralInfoList
impl Sync for CollateralInfoList
impl Unpin for CollateralInfoList
impl UnsafeUnpin for CollateralInfoList
impl UnwindSafe for CollateralInfoList
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