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