pub struct CollateralInfo {Show 13 fields
pub available_to_borrow: String,
pub free_borrowing_amount: String,
pub free_borrow_amount: String,
pub max_borrowing_amount: String,
pub hourly_borrow_rate: String,
pub borrow_usage_rate: String,
pub collateral_switch: bool,
pub borrow_amount: String,
pub borrowable: bool,
pub currency: String,
pub margin_collateral: bool,
pub free_borrowing_limit: String,
pub collateral_ratio: String,
}Fields§
§available_to_borrow: String§free_borrowing_amount: String§free_borrow_amount: String§max_borrowing_amount: String§hourly_borrow_rate: String§borrow_usage_rate: String§collateral_switch: bool§borrow_amount: String§borrowable: bool§currency: String§margin_collateral: bool§free_borrowing_limit: String§collateral_ratio: StringTrait Implementations§
Source§impl Clone for CollateralInfo
impl Clone for CollateralInfo
Source§fn clone(&self) -> CollateralInfo
fn clone(&self) -> CollateralInfo
Returns a copy 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 CollateralInfo
impl Debug for CollateralInfo
Source§impl<'de> Deserialize<'de> for CollateralInfo
impl<'de> Deserialize<'de> for CollateralInfo
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 CollateralInfo
impl RefUnwindSafe for CollateralInfo
impl Send for CollateralInfo
impl Sync for CollateralInfo
impl Unpin for CollateralInfo
impl UnwindSafe for CollateralInfo
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