pub struct AssetDribbletResponse {
pub total: i64,
pub user_asset_dribblets: Vec<AssetDribbletResponseUserAssetDribbletsItem>,
}
Expand description
AssetDribbletResponse
JSON schema
{
"type": "object",
"required": [
"total",
"userAssetDribblets"
],
"properties": {
"total": {
"description": "Total counts of exchange",
"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": {
"description": "Total service charge amount for this exchange.",
"examples": [
"0.00002699"
],
"type": "string"
},
"totalTransferedAmount": {
"description": "Total transfered BNB amount for this exchange.",
"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
Total counts of exchange
user_asset_dribblets: Vec<AssetDribbletResponseUserAssetDribbletsItem>
Trait Implementations§
Source§impl Clone for AssetDribbletResponse
impl Clone for AssetDribbletResponse
Source§fn clone(&self) -> AssetDribbletResponse
fn clone(&self) -> AssetDribbletResponse
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 AssetDribbletResponse
impl Debug for AssetDribbletResponse
Source§impl<'de> Deserialize<'de> for AssetDribbletResponse
impl<'de> Deserialize<'de> for AssetDribbletResponse
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<&AssetDribbletResponse> for AssetDribbletResponse
impl From<&AssetDribbletResponse> for AssetDribbletResponse
Source§fn from(value: &AssetDribbletResponse) -> Self
fn from(value: &AssetDribbletResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AssetDribbletResponse
impl RefUnwindSafe for AssetDribbletResponse
impl Send for AssetDribbletResponse
impl Sync for AssetDribbletResponse
impl Unpin for AssetDribbletResponse
impl UnwindSafe for AssetDribbletResponse
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