pub struct IsolatedAssetDetails {
pub asset: String,
pub borrow_enabled: bool,
pub borrowed: f64,
pub free: f64,
pub interest: f64,
pub locked: f64,
pub net_asset: f64,
pub net_asset_of_btc: f64,
pub repay_enabled: bool,
pub total_asset: f64,
}Expand description
Isolated asset details.
Fields§
§asset: StringAsset symbol.
borrow_enabled: boolWhether borrow is enabled.
borrowed: f64Borrowed amount.
free: f64Free amount.
interest: f64Interest amount.
locked: f64Locked amount.
net_asset: f64Net asset amount.
net_asset_of_btc: f64Net asset in BTC.
repay_enabled: boolWhether repay is enabled.
total_asset: f64Total asset amount.
Trait Implementations§
Source§impl Clone for IsolatedAssetDetails
impl Clone for IsolatedAssetDetails
Source§fn clone(&self) -> IsolatedAssetDetails
fn clone(&self) -> IsolatedAssetDetails
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 IsolatedAssetDetails
impl Debug for IsolatedAssetDetails
Source§impl<'de> Deserialize<'de> for IsolatedAssetDetails
impl<'de> Deserialize<'de> for IsolatedAssetDetails
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 IsolatedAssetDetails
impl RefUnwindSafe for IsolatedAssetDetails
impl Send for IsolatedAssetDetails
impl Sync for IsolatedAssetDetails
impl Unpin for IsolatedAssetDetails
impl UnwindSafe for IsolatedAssetDetails
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