pub struct SnapshotSpotSnapshotVosItemData {
pub balances: Vec<SnapshotSpotSnapshotVosItemDataBalancesItem>,
pub total_asset_of_btc: String,
}
Expand description
SnapshotSpotSnapshotVosItemData
JSON schema
{
"type": "object",
"required": [
"balances",
"totalAssetOfBtc"
],
"properties": {
"balances": {
"type": "array",
"items": {
"type": "object",
"required": [
"asset",
"free",
"locked"
],
"properties": {
"asset": {
"examples": [
"BTC"
],
"type": "string"
},
"free": {
"examples": [
"0.2"
],
"type": "string"
},
"locked": {
"examples": [
"0.001"
],
"type": "string"
}
}
}
},
"totalAssetOfBtc": {
"examples": [
"0.09905021"
],
"type": "string"
}
}
}
Fields§
§balances: Vec<SnapshotSpotSnapshotVosItemDataBalancesItem>
§total_asset_of_btc: String
Trait Implementations§
Source§impl Clone for SnapshotSpotSnapshotVosItemData
impl Clone for SnapshotSpotSnapshotVosItemData
Source§fn clone(&self) -> SnapshotSpotSnapshotVosItemData
fn clone(&self) -> SnapshotSpotSnapshotVosItemData
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 SnapshotSpotSnapshotVosItemData
impl<'de> Deserialize<'de> for SnapshotSpotSnapshotVosItemData
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<&SnapshotSpotSnapshotVosItemData> for SnapshotSpotSnapshotVosItemData
impl From<&SnapshotSpotSnapshotVosItemData> for SnapshotSpotSnapshotVosItemData
Source§fn from(value: &SnapshotSpotSnapshotVosItemData) -> Self
fn from(value: &SnapshotSpotSnapshotVosItemData) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SnapshotSpotSnapshotVosItemData
impl RefUnwindSafe for SnapshotSpotSnapshotVosItemData
impl Send for SnapshotSpotSnapshotVosItemData
impl Sync for SnapshotSpotSnapshotVosItemData
impl Unpin for SnapshotSpotSnapshotVosItemData
impl UnwindSafe for SnapshotSpotSnapshotVosItemData
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