pub struct EarnIncentiveClaimRequestBody {
pub chain: String,
}Expand description
Input for claiming incentive rewards.
JSON schema
{
"title": "EarnIncentiveClaimRequestBody",
"description": "Input for claiming incentive rewards.",
"examples": [
{
"chain": "base"
}
],
"type": "object",
"required": [
"chain"
],
"properties": {
"chain": {
"description": "The blockchain network on which to perform the
incentive claim. Supported chains include: 'ethereum', 'base',
'arbitrum', 'polygon', 'solana', and more, along with their respective
testnets.",
"type": "string"
}
},
"x-stainless-model": "wallet_actions.earn_incentive_claim_request_body"
}Fields§
§chain: StringThe blockchain network on which to perform the incentive claim. Supported chains include: ‘ethereum’, ‘base’, ‘arbitrum’, ‘polygon’, ‘solana’, and more, along with their respective testnets.
Trait Implementations§
Source§impl Clone for EarnIncentiveClaimRequestBody
impl Clone for EarnIncentiveClaimRequestBody
Source§fn clone(&self) -> EarnIncentiveClaimRequestBody
fn clone(&self) -> EarnIncentiveClaimRequestBody
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<'de> Deserialize<'de> for EarnIncentiveClaimRequestBody
impl<'de> Deserialize<'de> for EarnIncentiveClaimRequestBody
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<&EarnIncentiveClaimRequestBody> for EarnIncentiveClaimRequestBody
impl From<&EarnIncentiveClaimRequestBody> for EarnIncentiveClaimRequestBody
Source§fn from(value: &EarnIncentiveClaimRequestBody) -> Self
fn from(value: &EarnIncentiveClaimRequestBody) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EarnIncentiveClaimRequestBody
impl RefUnwindSafe for EarnIncentiveClaimRequestBody
impl Send for EarnIncentiveClaimRequestBody
impl Sync for EarnIncentiveClaimRequestBody
impl Unpin for EarnIncentiveClaimRequestBody
impl UnsafeUnpin for EarnIncentiveClaimRequestBody
impl UnwindSafe for EarnIncentiveClaimRequestBody
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