pub struct YieldClaimConfirmedWebhookPayloadRewardsItem {
pub amount: String,
pub token_address: String,
pub token_symbol: String,
}Expand description
YieldClaimConfirmedWebhookPayloadRewardsItem
JSON schema
{
"type": "object",
"required": [
"amount",
"token_address",
"token_symbol"
],
"properties": {
"amount": {
"type": "string"
},
"token_address": {
"type": "string"
},
"token_symbol": {
"type": "string"
}
}
}Fields§
§amount: String§token_address: String§token_symbol: StringTrait Implementations§
Source§impl Clone for YieldClaimConfirmedWebhookPayloadRewardsItem
impl Clone for YieldClaimConfirmedWebhookPayloadRewardsItem
Source§fn clone(&self) -> YieldClaimConfirmedWebhookPayloadRewardsItem
fn clone(&self) -> YieldClaimConfirmedWebhookPayloadRewardsItem
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 YieldClaimConfirmedWebhookPayloadRewardsItem
impl<'de> Deserialize<'de> for YieldClaimConfirmedWebhookPayloadRewardsItem
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<&YieldClaimConfirmedWebhookPayloadRewardsItem> for YieldClaimConfirmedWebhookPayloadRewardsItem
impl From<&YieldClaimConfirmedWebhookPayloadRewardsItem> for YieldClaimConfirmedWebhookPayloadRewardsItem
Source§fn from(value: &YieldClaimConfirmedWebhookPayloadRewardsItem) -> Self
fn from(value: &YieldClaimConfirmedWebhookPayloadRewardsItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for YieldClaimConfirmedWebhookPayloadRewardsItem
impl RefUnwindSafe for YieldClaimConfirmedWebhookPayloadRewardsItem
impl Send for YieldClaimConfirmedWebhookPayloadRewardsItem
impl Sync for YieldClaimConfirmedWebhookPayloadRewardsItem
impl Unpin for YieldClaimConfirmedWebhookPayloadRewardsItem
impl UnsafeUnpin for YieldClaimConfirmedWebhookPayloadRewardsItem
impl UnwindSafe for YieldClaimConfirmedWebhookPayloadRewardsItem
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