pub struct EarnIncentiveRewardsQuery {
pub chain: String,
}Expand description
Query parameters for fetching incentive rewards.
JSON schema
{
"title": "EarnIncentiveRewardsQuery",
"description": "Query parameters for fetching incentive rewards.",
"examples": [
{
"chain": "base"
}
],
"type": "object",
"required": [
"chain"
],
"properties": {
"chain": {
"description": "Chain name to fetch rewards for (e.g. \"base\",
\"ethereum\").",
"type": "string"
}
},
"x-stainless-model": "wallet_actions.earn_incentive_rewards_query"
}Fields§
§chain: StringChain name to fetch rewards for (e.g. “base”, “ethereum”).
Trait Implementations§
Source§impl Clone for EarnIncentiveRewardsQuery
impl Clone for EarnIncentiveRewardsQuery
Source§fn clone(&self) -> EarnIncentiveRewardsQuery
fn clone(&self) -> EarnIncentiveRewardsQuery
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 EarnIncentiveRewardsQuery
impl Debug for EarnIncentiveRewardsQuery
Source§impl<'de> Deserialize<'de> for EarnIncentiveRewardsQuery
impl<'de> Deserialize<'de> for EarnIncentiveRewardsQuery
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EarnIncentiveRewardsQuery, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EarnIncentiveRewardsQuery, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&EarnIncentiveRewardsQuery> for EarnIncentiveRewardsQuery
impl From<&EarnIncentiveRewardsQuery> for EarnIncentiveRewardsQuery
Source§fn from(value: &EarnIncentiveRewardsQuery) -> EarnIncentiveRewardsQuery
fn from(value: &EarnIncentiveRewardsQuery) -> EarnIncentiveRewardsQuery
Converts to this type from the input type.
Source§impl Serialize for EarnIncentiveRewardsQuery
impl Serialize for EarnIncentiveRewardsQuery
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for EarnIncentiveRewardsQuery
impl RefUnwindSafe for EarnIncentiveRewardsQuery
impl Send for EarnIncentiveRewardsQuery
impl Sync for EarnIncentiveRewardsQuery
impl Unpin for EarnIncentiveRewardsQuery
impl UnsafeUnpin for EarnIncentiveRewardsQuery
impl UnwindSafe for EarnIncentiveRewardsQuery
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