pub struct EthereumYieldClaimReward {
pub amount: String,
pub token_address: String,
pub token_symbol: String,
}Expand description
A single reward token claimed from vault participation.
JSON schema
{
"title": "EthereumYieldClaimReward",
"description": "A single reward token claimed from vault
participation.",
"examples": [
{
"amount": "115631364898103632676",
"token_address": "0x1234567890abcdef1234567890abcdef12345678",
"token_symbol": "MORPHO"
}
],
"type": "object",
"required": [
"amount",
"token_address",
"token_symbol"
],
"properties": {
"amount": {
"description": "Amount claimed in the smallest unit.",
"type": "string"
},
"token_address": {
"description": "Reward token contract address.",
"type": "string"
},
"token_symbol": {
"description": "Reward token symbol (e.g., \"MORPHO\").",
"type": "string"
}
},
"x-stainless-model": "yield.ethereum_yield_claim_reward"
}Fields§
§amount: StringAmount claimed in the smallest unit.
token_address: StringReward token contract address.
token_symbol: StringReward token symbol (e.g., “MORPHO”).
Trait Implementations§
Source§impl Clone for EthereumYieldClaimReward
impl Clone for EthereumYieldClaimReward
Source§fn clone(&self) -> EthereumYieldClaimReward
fn clone(&self) -> EthereumYieldClaimReward
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 EthereumYieldClaimReward
impl Debug for EthereumYieldClaimReward
Source§impl<'de> Deserialize<'de> for EthereumYieldClaimReward
impl<'de> Deserialize<'de> for EthereumYieldClaimReward
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<&EthereumYieldClaimReward> for EthereumYieldClaimReward
impl From<&EthereumYieldClaimReward> for EthereumYieldClaimReward
Source§fn from(value: &EthereumYieldClaimReward) -> Self
fn from(value: &EthereumYieldClaimReward) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EthereumYieldClaimReward
impl RefUnwindSafe for EthereumYieldClaimReward
impl Send for EthereumYieldClaimReward
impl Sync for EthereumYieldClaimReward
impl Unpin for EthereumYieldClaimReward
impl UnsafeUnpin for EthereumYieldClaimReward
impl UnwindSafe for EthereumYieldClaimReward
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