pub struct ManagedSubaccountAccountSnapshotResponse {
pub code: i32,
pub msg: String,
pub snapshot_vos: Vec<ManagedSubaccountAccountSnapshotResponseSnapshotVosItem>,
}
Expand description
ManagedSubaccountAccountSnapshotResponse
JSON schema
{
"type": "object",
"required": [
"code",
"msg",
"snapshotVos"
],
"properties": {
"code": {
"examples": [
200
],
"type": "integer",
"format": "int32"
},
"msg": {
"examples": [
""
],
"type": "string"
},
"snapshotVos": {
"type": "array",
"items": {
"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.09905021"
],
"type": "string"
},
"locked": {
"examples": [
"0.00000000"
],
"type": "string"
}
}
}
},
"totalAssetOfBtc": {
"examples": [
"0.09942700"
],
"type": "string"
}
}
},
"type": {
"examples": [
"spot"
],
"type": "string"
},
"updateTime": {
"examples": [
1576281599000
],
"type": "integer",
"format": "int64"
}
}
}
}
}
}
Fields§
§code: i32
§msg: String
§snapshot_vos: Vec<ManagedSubaccountAccountSnapshotResponseSnapshotVosItem>
Trait Implementations§
Source§impl Clone for ManagedSubaccountAccountSnapshotResponse
impl Clone for ManagedSubaccountAccountSnapshotResponse
Source§fn clone(&self) -> ManagedSubaccountAccountSnapshotResponse
fn clone(&self) -> ManagedSubaccountAccountSnapshotResponse
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 ManagedSubaccountAccountSnapshotResponse
impl<'de> Deserialize<'de> for ManagedSubaccountAccountSnapshotResponse
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<&ManagedSubaccountAccountSnapshotResponse> for ManagedSubaccountAccountSnapshotResponse
impl From<&ManagedSubaccountAccountSnapshotResponse> for ManagedSubaccountAccountSnapshotResponse
Source§fn from(value: &ManagedSubaccountAccountSnapshotResponse) -> Self
fn from(value: &ManagedSubaccountAccountSnapshotResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ManagedSubaccountAccountSnapshotResponse
impl RefUnwindSafe for ManagedSubaccountAccountSnapshotResponse
impl Send for ManagedSubaccountAccountSnapshotResponse
impl Sync for ManagedSubaccountAccountSnapshotResponse
impl Unpin for ManagedSubaccountAccountSnapshotResponse
impl UnwindSafe for ManagedSubaccountAccountSnapshotResponse
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