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