pub struct SimpleEarnLockedSubscriptionPreviewResponseItem {
pub deliver_date: String,
pub est_total_extra_reward_amt: String,
pub extra_reward_asset: String,
pub next_pay: String,
pub next_pay_date: String,
pub next_subscription_date: String,
pub reward_asset: String,
pub rewards_end_date: String,
pub total_reward_amt: String,
pub value_date: String,
}
Expand description
SimpleEarnLockedSubscriptionPreviewResponseItem
JSON schema
{
"type": "object",
"required": [
"deliverDate",
"estTotalExtraRewardAmt",
"extraRewardAsset",
"nextPay",
"nextPayDate",
"nextSubscriptionDate",
"rewardAsset",
"rewardsEndDate",
"totalRewardAmt",
"valueDate"
],
"properties": {
"deliverDate": {
"examples": [
"1651536000000"
],
"type": "string"
},
"estTotalExtraRewardAmt": {
"examples": [
"5.17181528"
],
"type": "string"
},
"extraRewardAsset": {
"examples": [
"BNB"
],
"type": "string"
},
"nextPay": {
"examples": [
"1.29295383"
],
"type": "string"
},
"nextPayDate": {
"examples": [
"1646697600000"
],
"type": "string"
},
"nextSubscriptionDate": {
"examples": [
"1651536000000"
],
"type": "string"
},
"rewardAsset": {
"examples": [
"AXS"
],
"type": "string"
},
"rewardsEndDate": {
"examples": [
"1651449600000"
],
"type": "string"
},
"totalRewardAmt": {
"examples": [
"5.17181528"
],
"type": "string"
},
"valueDate": {
"examples": [
"1646697600000"
],
"type": "string"
}
}
}
Fields§
§deliver_date: String
§est_total_extra_reward_amt: String
§extra_reward_asset: String
§next_pay: String
§next_pay_date: String
§next_subscription_date: String
§reward_asset: String
§rewards_end_date: String
§total_reward_amt: String
§value_date: String
Trait Implementations§
Source§impl Clone for SimpleEarnLockedSubscriptionPreviewResponseItem
impl Clone for SimpleEarnLockedSubscriptionPreviewResponseItem
Source§fn clone(&self) -> SimpleEarnLockedSubscriptionPreviewResponseItem
fn clone(&self) -> SimpleEarnLockedSubscriptionPreviewResponseItem
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 SimpleEarnLockedSubscriptionPreviewResponseItem
impl<'de> Deserialize<'de> for SimpleEarnLockedSubscriptionPreviewResponseItem
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<&SimpleEarnLockedSubscriptionPreviewResponseItem> for SimpleEarnLockedSubscriptionPreviewResponseItem
impl From<&SimpleEarnLockedSubscriptionPreviewResponseItem> for SimpleEarnLockedSubscriptionPreviewResponseItem
Source§fn from(value: &SimpleEarnLockedSubscriptionPreviewResponseItem) -> Self
fn from(value: &SimpleEarnLockedSubscriptionPreviewResponseItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SimpleEarnLockedSubscriptionPreviewResponseItem
impl RefUnwindSafe for SimpleEarnLockedSubscriptionPreviewResponseItem
impl Send for SimpleEarnLockedSubscriptionPreviewResponseItem
impl Sync for SimpleEarnLockedSubscriptionPreviewResponseItem
impl Unpin for SimpleEarnLockedSubscriptionPreviewResponseItem
impl UnwindSafe for SimpleEarnLockedSubscriptionPreviewResponseItem
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