pub struct MiningPaymentOtherResponseDataOtherProfitsItem {
pub coin_name: String,
pub profit_amount: f64,
pub status: i32,
pub time: i64,
pub type_: i32,
}
Expand description
MiningPaymentOtherResponseDataOtherProfitsItem
JSON schema
{
"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"
}
}
}
Fields§
§coin_name: String
Coin Name
profit_amount: f64
§status: i32
0:Unpaid, 1:Paying 2:Paid
time: i64
Mining date
type_: i32
1: Merged Mining, 2: Activity Bonus, 3:Rebate 4:Smart Pool 6:Income Transfer 7:Pool Savings
Trait Implementations§
Source§impl Clone for MiningPaymentOtherResponseDataOtherProfitsItem
impl Clone for MiningPaymentOtherResponseDataOtherProfitsItem
Source§fn clone(&self) -> MiningPaymentOtherResponseDataOtherProfitsItem
fn clone(&self) -> MiningPaymentOtherResponseDataOtherProfitsItem
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 MiningPaymentOtherResponseDataOtherProfitsItem
impl<'de> Deserialize<'de> for MiningPaymentOtherResponseDataOtherProfitsItem
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<&MiningPaymentOtherResponseDataOtherProfitsItem> for MiningPaymentOtherResponseDataOtherProfitsItem
impl From<&MiningPaymentOtherResponseDataOtherProfitsItem> for MiningPaymentOtherResponseDataOtherProfitsItem
Source§fn from(value: &MiningPaymentOtherResponseDataOtherProfitsItem) -> Self
fn from(value: &MiningPaymentOtherResponseDataOtherProfitsItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MiningPaymentOtherResponseDataOtherProfitsItem
impl RefUnwindSafe for MiningPaymentOtherResponseDataOtherProfitsItem
impl Send for MiningPaymentOtherResponseDataOtherProfitsItem
impl Sync for MiningPaymentOtherResponseDataOtherProfitsItem
impl Unpin for MiningPaymentOtherResponseDataOtherProfitsItem
impl UnwindSafe for MiningPaymentOtherResponseDataOtherProfitsItem
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