pub struct IsolatedMarginAccountInfoAssetsItemBaseAsset {
pub asset: String,
pub borrow_enabled: bool,
pub borrowed: String,
pub free: String,
pub interest: String,
pub locked: String,
pub net_asset: String,
pub net_asset_of_btc: String,
pub repay_enabled: bool,
pub total_asset: String,
}
Expand description
IsolatedMarginAccountInfoAssetsItemBaseAsset
JSON schema
{
"type": "object",
"required": [
"asset",
"borrowEnabled",
"borrowed",
"free",
"interest",
"locked",
"netAsset",
"netAssetOfBtc",
"repayEnabled",
"totalAsset"
],
"properties": {
"asset": {
"examples": [
"BTC"
],
"type": "string"
},
"borrowEnabled": {
"type": "boolean"
},
"borrowed": {
"examples": [
"0.00000000"
],
"type": "string"
},
"free": {
"examples": [
"0.00000000"
],
"type": "string"
},
"interest": {
"examples": [
"0.00000000"
],
"type": "string"
},
"locked": {
"examples": [
"0.00000000"
],
"type": "string"
},
"netAsset": {
"examples": [
"0.00000000"
],
"type": "string"
},
"netAssetOfBtc": {
"examples": [
"0.00000000"
],
"type": "string"
},
"repayEnabled": {
"type": "boolean"
},
"totalAsset": {
"examples": [
"0.00000000"
],
"type": "string"
}
}
}
Fields§
§asset: String
§borrow_enabled: bool
§borrowed: String
§free: String
§interest: String
§locked: String
§net_asset: String
§net_asset_of_btc: String
§repay_enabled: bool
§total_asset: String
Trait Implementations§
Source§impl Clone for IsolatedMarginAccountInfoAssetsItemBaseAsset
impl Clone for IsolatedMarginAccountInfoAssetsItemBaseAsset
Source§fn clone(&self) -> IsolatedMarginAccountInfoAssetsItemBaseAsset
fn clone(&self) -> IsolatedMarginAccountInfoAssetsItemBaseAsset
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<'de> Deserialize<'de> for IsolatedMarginAccountInfoAssetsItemBaseAsset
impl<'de> Deserialize<'de> for IsolatedMarginAccountInfoAssetsItemBaseAsset
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
Source§impl From<&IsolatedMarginAccountInfoAssetsItemBaseAsset> for IsolatedMarginAccountInfoAssetsItemBaseAsset
impl From<&IsolatedMarginAccountInfoAssetsItemBaseAsset> for IsolatedMarginAccountInfoAssetsItemBaseAsset
Source§fn from(value: &IsolatedMarginAccountInfoAssetsItemBaseAsset) -> Self
fn from(value: &IsolatedMarginAccountInfoAssetsItemBaseAsset) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IsolatedMarginAccountInfoAssetsItemBaseAsset
impl RefUnwindSafe for IsolatedMarginAccountInfoAssetsItemBaseAsset
impl Send for IsolatedMarginAccountInfoAssetsItemBaseAsset
impl Sync for IsolatedMarginAccountInfoAssetsItemBaseAsset
impl Unpin for IsolatedMarginAccountInfoAssetsItemBaseAsset
impl UnwindSafe for IsolatedMarginAccountInfoAssetsItemBaseAsset
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