pub struct MiningPaymentUidResponseDataAccountProfitsItem {
pub amount: f64,
pub coin_name: String,
pub puid: i32,
pub sub_name: String,
pub time: i64,
pub type_: i32,
}
Expand description
MiningPaymentUidResponseDataAccountProfitsItem
JSON schema
{
"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"
}
}
}
Fields§
§amount: f64
§coin_name: String
§puid: i32
puid
sub_name: String
Mining account
time: i64
§type_: i32
0:Referral 1:Refund 2:Rebate
Trait Implementations§
Source§impl Clone for MiningPaymentUidResponseDataAccountProfitsItem
impl Clone for MiningPaymentUidResponseDataAccountProfitsItem
Source§fn clone(&self) -> MiningPaymentUidResponseDataAccountProfitsItem
fn clone(&self) -> MiningPaymentUidResponseDataAccountProfitsItem
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 MiningPaymentUidResponseDataAccountProfitsItem
impl<'de> Deserialize<'de> for MiningPaymentUidResponseDataAccountProfitsItem
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<&MiningPaymentUidResponseDataAccountProfitsItem> for MiningPaymentUidResponseDataAccountProfitsItem
impl From<&MiningPaymentUidResponseDataAccountProfitsItem> for MiningPaymentUidResponseDataAccountProfitsItem
Source§fn from(value: &MiningPaymentUidResponseDataAccountProfitsItem) -> Self
fn from(value: &MiningPaymentUidResponseDataAccountProfitsItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MiningPaymentUidResponseDataAccountProfitsItem
impl RefUnwindSafe for MiningPaymentUidResponseDataAccountProfitsItem
impl Send for MiningPaymentUidResponseDataAccountProfitsItem
impl Sync for MiningPaymentUidResponseDataAccountProfitsItem
impl Unpin for MiningPaymentUidResponseDataAccountProfitsItem
impl UnwindSafe for MiningPaymentUidResponseDataAccountProfitsItem
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