pub struct SnapshotSpotSnapshotVosItem {
pub data: SnapshotSpotSnapshotVosItemData,
pub type_: String,
pub update_time: i64,
}
Expand description
SnapshotSpotSnapshotVosItem
JSON schema
{
"type": "object",
"required": [
"data",
"type",
"updateTime"
],
"properties": {
"data": {
"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"
}
}
},
"type": {
"examples": [
"spot"
],
"type": "string"
},
"updateTime": {
"examples": [
1576281599000
],
"type": "integer",
"format": "int64"
}
}
}
Fields§
§data: SnapshotSpotSnapshotVosItemData
§type_: String
§update_time: i64
Trait Implementations§
Source§impl Clone for SnapshotSpotSnapshotVosItem
impl Clone for SnapshotSpotSnapshotVosItem
Source§fn clone(&self) -> SnapshotSpotSnapshotVosItem
fn clone(&self) -> SnapshotSpotSnapshotVosItem
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 SnapshotSpotSnapshotVosItem
impl Debug for SnapshotSpotSnapshotVosItem
Source§impl<'de> Deserialize<'de> for SnapshotSpotSnapshotVosItem
impl<'de> Deserialize<'de> for SnapshotSpotSnapshotVosItem
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<&SnapshotSpotSnapshotVosItem> for SnapshotSpotSnapshotVosItem
impl From<&SnapshotSpotSnapshotVosItem> for SnapshotSpotSnapshotVosItem
Source§fn from(value: &SnapshotSpotSnapshotVosItem) -> Self
fn from(value: &SnapshotSpotSnapshotVosItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SnapshotSpotSnapshotVosItem
impl RefUnwindSafe for SnapshotSpotSnapshotVosItem
impl Send for SnapshotSpotSnapshotVosItem
impl Sync for SnapshotSpotSnapshotVosItem
impl Unpin for SnapshotSpotSnapshotVosItem
impl UnwindSafe for SnapshotSpotSnapshotVosItem
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