pub struct MiningPaymentUidResponse {
pub code: i32,
pub data: MiningPaymentUidResponseData,
pub msg: String,
}
Expand description
MiningPaymentUidResponse
JSON schema
{
"type": "object",
"required": [
"code",
"data",
"msg"
],
"properties": {
"code": {
"examples": [
0
],
"type": "integer",
"format": "int32"
},
"data": {
"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"
}
}
},
"msg": {
"examples": [
""
],
"type": "string"
}
}
}
Fields§
§code: i32
§data: MiningPaymentUidResponseData
§msg: String
Trait Implementations§
Source§impl Clone for MiningPaymentUidResponse
impl Clone for MiningPaymentUidResponse
Source§fn clone(&self) -> MiningPaymentUidResponse
fn clone(&self) -> MiningPaymentUidResponse
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 MiningPaymentUidResponse
impl Debug for MiningPaymentUidResponse
Source§impl<'de> Deserialize<'de> for MiningPaymentUidResponse
impl<'de> Deserialize<'de> for MiningPaymentUidResponse
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<&MiningPaymentUidResponse> for MiningPaymentUidResponse
impl From<&MiningPaymentUidResponse> for MiningPaymentUidResponse
Source§fn from(value: &MiningPaymentUidResponse) -> Self
fn from(value: &MiningPaymentUidResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MiningPaymentUidResponse
impl RefUnwindSafe for MiningPaymentUidResponse
impl Send for MiningPaymentUidResponse
impl Sync for MiningPaymentUidResponse
impl Unpin for MiningPaymentUidResponse
impl UnwindSafe for MiningPaymentUidResponse
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