pub struct MarginDribbletResponse {
pub total: i64,
pub user_asset_dribblets: Vec<MarginDribbletResponseUserAssetDribbletsItem>,
}
Expand description
MarginDribbletResponse
JSON schema
{
"type": "object",
"required": [
"total",
"userAssetDribblets"
],
"properties": {
"total": {
"examples": [
8
],
"type": "integer",
"format": "int64"
},
"userAssetDribblets": {
"type": "array",
"items": {
"type": "object",
"required": [
"operateTime",
"totalServiceChargeAmount",
"totalTransferedAmount",
"transId",
"userAssetDribbletDetails"
],
"properties": {
"operateTime": {
"examples": [
1615985535000
],
"type": "integer",
"format": "int64"
},
"totalServiceChargeAmount": {
"examples": [
"0.00002699"
],
"type": "string"
},
"totalTransferedAmount": {
"examples": [
"0.00132256"
],
"type": "string"
},
"transId": {
"examples": [
45178372831
],
"type": "integer",
"format": "int64"
},
"userAssetDribbletDetails": {
"type": "array",
"items": {
"type": "object",
"required": [
"amount",
"fromAsset",
"operateTime",
"serviceChargeAmount",
"transId",
"transferedAmount"
],
"properties": {
"amount": {
"examples": [
"0.0009"
],
"type": "string"
},
"fromAsset": {
"examples": [
"USDT"
],
"type": "string"
},
"operateTime": {
"examples": [
1615985535000
],
"type": "integer",
"format": "int64"
},
"serviceChargeAmount": {
"examples": [
"0.000009"
],
"type": "string"
},
"transId": {
"examples": [
4359321
],
"type": "integer",
"format": "int64"
},
"transferedAmount": {
"examples": [
"0.000441"
],
"type": "string"
}
}
}
}
}
}
}
}
}
Fields§
§total: i64
§user_asset_dribblets: Vec<MarginDribbletResponseUserAssetDribbletsItem>
Trait Implementations§
Source§impl Clone for MarginDribbletResponse
impl Clone for MarginDribbletResponse
Source§fn clone(&self) -> MarginDribbletResponse
fn clone(&self) -> MarginDribbletResponse
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 MarginDribbletResponse
impl Debug for MarginDribbletResponse
Source§impl<'de> Deserialize<'de> for MarginDribbletResponse
impl<'de> Deserialize<'de> for MarginDribbletResponse
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<&MarginDribbletResponse> for MarginDribbletResponse
impl From<&MarginDribbletResponse> for MarginDribbletResponse
Source§fn from(value: &MarginDribbletResponse) -> Self
fn from(value: &MarginDribbletResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MarginDribbletResponse
impl RefUnwindSafe for MarginDribbletResponse
impl Send for MarginDribbletResponse
impl Sync for MarginDribbletResponse
impl Unpin for MarginDribbletResponse
impl UnwindSafe for MarginDribbletResponse
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