pub struct MarginAllAssetsResponseItem {
pub asset_full_name: String,
pub asset_name: String,
pub is_borrowable: bool,
pub is_mortgageable: bool,
pub user_min_borrow: String,
pub user_min_repay: String,
}
Expand description
MarginAllAssetsResponseItem
JSON schema
{
"type": "object",
"required": [
"assetFullName",
"assetName",
"isBorrowable",
"isMortgageable",
"userMinBorrow",
"userMinRepay"
],
"properties": {
"assetFullName": {
"examples": [
"Binance coin"
],
"type": "string"
},
"assetName": {
"examples": [
"BNB"
],
"type": "string"
},
"isBorrowable": {
"type": "boolean"
},
"isMortgageable": {
"type": "boolean"
},
"userMinBorrow": {
"examples": [
"0.00000000"
],
"type": "string"
},
"userMinRepay": {
"examples": [
"0.00000000"
],
"type": "string"
}
}
}
Fields§
§asset_full_name: String
§asset_name: String
§is_borrowable: bool
§is_mortgageable: bool
§user_min_borrow: String
§user_min_repay: String
Trait Implementations§
Source§impl Clone for MarginAllAssetsResponseItem
impl Clone for MarginAllAssetsResponseItem
Source§fn clone(&self) -> MarginAllAssetsResponseItem
fn clone(&self) -> MarginAllAssetsResponseItem
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 MarginAllAssetsResponseItem
impl Debug for MarginAllAssetsResponseItem
Source§impl<'de> Deserialize<'de> for MarginAllAssetsResponseItem
impl<'de> Deserialize<'de> for MarginAllAssetsResponseItem
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<&MarginAllAssetsResponseItem> for MarginAllAssetsResponseItem
impl From<&MarginAllAssetsResponseItem> for MarginAllAssetsResponseItem
Source§fn from(value: &MarginAllAssetsResponseItem) -> Self
fn from(value: &MarginAllAssetsResponseItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MarginAllAssetsResponseItem
impl RefUnwindSafe for MarginAllAssetsResponseItem
impl Send for MarginAllAssetsResponseItem
impl Sync for MarginAllAssetsResponseItem
impl Unpin for MarginAllAssetsResponseItem
impl UnwindSafe for MarginAllAssetsResponseItem
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