pub struct EarnIncetiveClaimRewardEntry {
pub amount: String,
pub token_address: String,
pub token_decimals: Option<i64>,
pub token_symbol: String,
}Expand description
A specific reward token and amount associated with an earn incentive claim.
JSON schema
{
"title": "EarnIncetiveClaimRewardEntry",
"description": "A specific reward token and amount associated with an
earn incentive claim.",
"type": "object",
"required": [
"amount",
"token_address",
"token_symbol"
],
"properties": {
"amount": {
"description": "Claimable amount in base units.",
"type": "string"
},
"token_address": {
"description": "Address of the reward token.",
"type": "string"
},
"token_decimals": {
"description": "Number of decimal places for the reward token.",
"type": "integer"
},
"token_symbol": {
"description": "Symbol of the reward token (e.g. \"MORPHO\").",
"type": "string"
}
},
"x-stainless-model": "wallet_actions.earn_incetive_claim_reward_entry"
}Fields§
§amount: StringClaimable amount in base units.
token_address: StringAddress of the reward token.
token_decimals: Option<i64>Number of decimal places for the reward token.
token_symbol: StringSymbol of the reward token (e.g. “MORPHO”).
Trait Implementations§
Source§impl Clone for EarnIncetiveClaimRewardEntry
impl Clone for EarnIncetiveClaimRewardEntry
Source§fn clone(&self) -> EarnIncetiveClaimRewardEntry
fn clone(&self) -> EarnIncetiveClaimRewardEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EarnIncetiveClaimRewardEntry
impl Debug for EarnIncetiveClaimRewardEntry
Source§impl<'de> Deserialize<'de> for EarnIncetiveClaimRewardEntry
impl<'de> Deserialize<'de> for EarnIncetiveClaimRewardEntry
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<&EarnIncetiveClaimRewardEntry> for EarnIncetiveClaimRewardEntry
impl From<&EarnIncetiveClaimRewardEntry> for EarnIncetiveClaimRewardEntry
Source§fn from(value: &EarnIncetiveClaimRewardEntry) -> Self
fn from(value: &EarnIncetiveClaimRewardEntry) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EarnIncetiveClaimRewardEntry
impl RefUnwindSafe for EarnIncetiveClaimRewardEntry
impl Send for EarnIncetiveClaimRewardEntry
impl Sync for EarnIncetiveClaimRewardEntry
impl Unpin for EarnIncetiveClaimRewardEntry
impl UnsafeUnpin for EarnIncetiveClaimRewardEntry
impl UnwindSafe for EarnIncetiveClaimRewardEntry
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