pub struct RebateTaxQueryResponse {
pub code: String,
pub data: RebateTaxQueryResponseData,
pub status: String,
pub type_: String,
}
Expand description
RebateTaxQueryResponse
JSON schema
{
"type": "object",
"required": [
"code",
"data",
"status",
"type"
],
"properties": {
"code": {
"examples": [
"000000000"
],
"type": "string"
},
"data": {
"type": "object",
"required": [
"data",
"page",
"totalPageNum",
"totalRecords"
],
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"required": [
"amount",
"asset",
"type",
"updateTime"
],
"properties": {
"amount": {
"examples": [
"0.0001126"
],
"type": "string"
},
"asset": {
"examples": [
"USDT"
],
"type": "string"
},
"type": {
"description": "rebate type:1 is commission rebate,2 is referral kickback",
"examples": [
1
],
"type": "integer",
"format": "int32"
},
"updateTime": {
"examples": [
1637651320000
],
"type": "integer",
"format": "int64"
}
}
}
},
"page": {
"examples": [
1
],
"type": "integer",
"format": "int32"
},
"totalPageNum": {
"examples": [
1
],
"type": "integer",
"format": "int32"
},
"totalRecords": {
"examples": [
2
],
"type": "integer",
"format": "int32"
}
}
},
"status": {
"examples": [
"OK"
],
"type": "string"
},
"type": {
"examples": [
"GENERAL"
],
"type": "string"
}
}
}
Fields§
§code: String
§data: RebateTaxQueryResponseData
§status: String
§type_: String
Trait Implementations§
Source§impl Clone for RebateTaxQueryResponse
impl Clone for RebateTaxQueryResponse
Source§fn clone(&self) -> RebateTaxQueryResponse
fn clone(&self) -> RebateTaxQueryResponse
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 RebateTaxQueryResponse
impl Debug for RebateTaxQueryResponse
Source§impl<'de> Deserialize<'de> for RebateTaxQueryResponse
impl<'de> Deserialize<'de> for RebateTaxQueryResponse
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<&RebateTaxQueryResponse> for RebateTaxQueryResponse
impl From<&RebateTaxQueryResponse> for RebateTaxQueryResponse
Source§fn from(value: &RebateTaxQueryResponse) -> Self
fn from(value: &RebateTaxQueryResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RebateTaxQueryResponse
impl RefUnwindSafe for RebateTaxQueryResponse
impl Send for RebateTaxQueryResponse
impl Sync for RebateTaxQueryResponse
impl Unpin for RebateTaxQueryResponse
impl UnwindSafe for RebateTaxQueryResponse
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