pub struct MiningPaymentOtherResponseData {
pub other_profits: Vec<MiningPaymentOtherResponseDataOtherProfitsItem>,
pub page_size: i64,
pub total_num: i64,
}
Expand description
MiningPaymentOtherResponseData
JSON schema
{
"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"
}
}
}
Fields§
§other_profits: Vec<MiningPaymentOtherResponseDataOtherProfitsItem>
§page_size: i64
Rows per page
total_num: i64
Total Rows
Trait Implementations§
Source§impl Clone for MiningPaymentOtherResponseData
impl Clone for MiningPaymentOtherResponseData
Source§fn clone(&self) -> MiningPaymentOtherResponseData
fn clone(&self) -> MiningPaymentOtherResponseData
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<'de> Deserialize<'de> for MiningPaymentOtherResponseData
impl<'de> Deserialize<'de> for MiningPaymentOtherResponseData
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<&MiningPaymentOtherResponseData> for MiningPaymentOtherResponseData
impl From<&MiningPaymentOtherResponseData> for MiningPaymentOtherResponseData
Source§fn from(value: &MiningPaymentOtherResponseData) -> Self
fn from(value: &MiningPaymentOtherResponseData) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MiningPaymentOtherResponseData
impl RefUnwindSafe for MiningPaymentOtherResponseData
impl Send for MiningPaymentOtherResponseData
impl Sync for MiningPaymentOtherResponseData
impl Unpin for MiningPaymentOtherResponseData
impl UnwindSafe for MiningPaymentOtherResponseData
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