pub struct MiningPaymentUidResponseData {
pub account_profits: Vec<MiningPaymentUidResponseDataAccountProfitsItem>,
pub page_size: i32,
pub total_num: i32,
}
Expand description
MiningPaymentUidResponseData
JSON schema
{
"type": "object",
"required": [
"accountProfits",
"pageSize",
"totalNum"
],
"properties": {
"accountProfits": {
"type": "array",
"items": {
"type": "object",
"required": [
"amount",
"coinName",
"puid",
"subName",
"time",
"type"
],
"properties": {
"amount": {
"examples": [
0.09186957
],
"type": "number"
},
"coinName": {
"examples": [
"BTC"
],
"type": "string"
},
"puid": {
"description": "puid",
"examples": [
59985472
],
"type": "integer",
"format": "int32"
},
"subName": {
"description": "Mining account",
"examples": [
"vdvaghani"
],
"type": "string"
},
"time": {
"examples": [
1607443200000
],
"type": "integer",
"format": "int64"
},
"type": {
"description": "0:Referral 1:Refund 2:Rebate",
"examples": [
2
],
"type": "integer",
"format": "int32"
}
}
}
},
"pageSize": {
"examples": [
20
],
"type": "integer",
"format": "int32"
},
"totalNum": {
"examples": [
3
],
"type": "integer",
"format": "int32"
}
}
}
Fields§
§account_profits: Vec<MiningPaymentUidResponseDataAccountProfitsItem>
§page_size: i32
§total_num: i32
Trait Implementations§
Source§impl Clone for MiningPaymentUidResponseData
impl Clone for MiningPaymentUidResponseData
Source§fn clone(&self) -> MiningPaymentUidResponseData
fn clone(&self) -> MiningPaymentUidResponseData
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 MiningPaymentUidResponseData
impl Debug for MiningPaymentUidResponseData
Source§impl<'de> Deserialize<'de> for MiningPaymentUidResponseData
impl<'de> Deserialize<'de> for MiningPaymentUidResponseData
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<&MiningPaymentUidResponseData> for MiningPaymentUidResponseData
impl From<&MiningPaymentUidResponseData> for MiningPaymentUidResponseData
Source§fn from(value: &MiningPaymentUidResponseData) -> Self
fn from(value: &MiningPaymentUidResponseData) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MiningPaymentUidResponseData
impl RefUnwindSafe for MiningPaymentUidResponseData
impl Send for MiningPaymentUidResponseData
impl Sync for MiningPaymentUidResponseData
impl Unpin for MiningPaymentUidResponseData
impl UnwindSafe for MiningPaymentUidResponseData
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