pub struct BswapClaimedHistoryResponseItem {
pub asset_rewards: String,
pub claim_amount: f32,
pub claim_time: i64,
pub pool_id: i32,
pub pool_name: String,
pub status: i32,
}
Expand description
BswapClaimedHistoryResponseItem
JSON schema
{
"type": "object",
"required": [
"assetRewards",
"claimAmount",
"claimTime",
"poolId",
"poolName",
"status"
],
"properties": {
"assetRewards": {
"examples": [
"BNB"
],
"type": "string"
},
"claimAmount": {
"examples": [
2.3e-7
],
"type": "number",
"format": "float"
},
"claimTime": {
"examples": [
1565769342148
],
"type": "integer",
"format": "int64"
},
"poolId": {
"examples": [
52
],
"type": "integer",
"format": "int32"
},
"poolName": {
"examples": [
"BNB/USDT"
],
"type": "string"
},
"status": {
"description": "0: pending, 1: success",
"examples": [
1
],
"type": "integer",
"format": "int32"
}
}
}
Fields§
§asset_rewards: String
§claim_amount: f32
§claim_time: i64
§pool_id: i32
§pool_name: String
§status: i32
0: pending, 1: success
Trait Implementations§
Source§impl Clone for BswapClaimedHistoryResponseItem
impl Clone for BswapClaimedHistoryResponseItem
Source§fn clone(&self) -> BswapClaimedHistoryResponseItem
fn clone(&self) -> BswapClaimedHistoryResponseItem
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 BswapClaimedHistoryResponseItem
impl<'de> Deserialize<'de> for BswapClaimedHistoryResponseItem
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<&BswapClaimedHistoryResponseItem> for BswapClaimedHistoryResponseItem
impl From<&BswapClaimedHistoryResponseItem> for BswapClaimedHistoryResponseItem
Source§fn from(value: &BswapClaimedHistoryResponseItem) -> Self
fn from(value: &BswapClaimedHistoryResponseItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BswapClaimedHistoryResponseItem
impl RefUnwindSafe for BswapClaimedHistoryResponseItem
impl Send for BswapClaimedHistoryResponseItem
impl Sync for BswapClaimedHistoryResponseItem
impl Unpin for BswapClaimedHistoryResponseItem
impl UnwindSafe for BswapClaimedHistoryResponseItem
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