pub struct MiningPaymentOtherResponse {
pub code: i64,
pub data: MiningPaymentOtherResponseData,
pub msg: String,
}
Expand description
MiningPaymentOtherResponse
JSON schema
{
"type": "object",
"required": [
"code",
"data",
"msg"
],
"properties": {
"code": {
"examples": [
0
],
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"required": [
"otherProfits",
"pageSize",
"totalNum"
],
"properties": {
"otherProfits": {
"type": "array",
"items": {
"type": "object",
"required": [
"coinName",
"profitAmount",
"status",
"time",
"type"
],
"properties": {
"coinName": {
"description": "Coin Name",
"examples": [
"BTC"
],
"type": "string"
},
"profitAmount": {
"examples": [
0.0011859
],
"type": "number",
"format": "double"
},
"status": {
"description": "0:Unpaid, 1:Paying 2:Paid",
"examples": [
2
],
"type": "integer",
"format": "int32"
},
"time": {
"description": "Mining date",
"examples": [
1607443200000
],
"type": "integer",
"format": "int64"
},
"type": {
"description": "1: Merged Mining, 2: Activity Bonus, 3:Rebate 4:Smart Pool 6:Income Transfer 7:Pool Savings",
"examples": [
4
],
"type": "integer",
"format": "int32"
}
}
}
},
"pageSize": {
"description": "Rows per page",
"examples": [
20
],
"type": "integer",
"format": "int64"
},
"totalNum": {
"description": "Total Rows",
"examples": [
3
],
"type": "integer",
"format": "int64"
}
}
},
"msg": {
"examples": [
""
],
"type": "string"
}
}
}
Fields§
§code: i64
§data: MiningPaymentOtherResponseData
§msg: String
Trait Implementations§
Source§impl Clone for MiningPaymentOtherResponse
impl Clone for MiningPaymentOtherResponse
Source§fn clone(&self) -> MiningPaymentOtherResponse
fn clone(&self) -> MiningPaymentOtherResponse
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 MiningPaymentOtherResponse
impl Debug for MiningPaymentOtherResponse
Source§impl<'de> Deserialize<'de> for MiningPaymentOtherResponse
impl<'de> Deserialize<'de> for MiningPaymentOtherResponse
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<&MiningPaymentOtherResponse> for MiningPaymentOtherResponse
impl From<&MiningPaymentOtherResponse> for MiningPaymentOtherResponse
Source§fn from(value: &MiningPaymentOtherResponse) -> Self
fn from(value: &MiningPaymentOtherResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MiningPaymentOtherResponse
impl RefUnwindSafe for MiningPaymentOtherResponse
impl Send for MiningPaymentOtherResponse
impl Sync for MiningPaymentOtherResponse
impl Unpin for MiningPaymentOtherResponse
impl UnwindSafe for MiningPaymentOtherResponse
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