pub struct YieldWithdrawConfirmedWebhookPayload {
pub assets: String,
pub caip2: String,
pub owner: String,
pub receiver: String,
pub sender: String,
pub shares: String,
pub type_: YieldWithdrawConfirmedWebhookPayloadType,
pub vault_address: String,
}Expand description
Payload for the yield.withdraw.confirmed webhook event.
JSON schema
{
"title": "YieldWithdrawConfirmedWebhookPayload",
"description": "Payload for the yield.withdraw.confirmed webhook
event.",
"type": "object",
"required": [
"assets",
"caip2",
"owner",
"receiver",
"sender",
"shares",
"type",
"vault_address"
],
"properties": {
"assets": {
"type": "string"
},
"caip2": {
"type": "string"
},
"owner": {
"type": "string"
},
"receiver": {
"type": "string"
},
"sender": {
"type": "string"
},
"shares": {
"type": "string"
},
"type": {
"description": "The type of webhook event.",
"type": "string",
"enum": [
"yield.withdraw.confirmed"
]
},
"vault_address": {
"type": "string"
}
},
"x-stainless-model":
"webhooks.yield_withdraw_confirmed_webhook_payload"
}Fields§
§assets: String§caip2: String§owner: String§receiver: String§sender: String§type_: YieldWithdrawConfirmedWebhookPayloadTypeThe type of webhook event.
vault_address: StringTrait Implementations§
Source§impl Clone for YieldWithdrawConfirmedWebhookPayload
impl Clone for YieldWithdrawConfirmedWebhookPayload
Source§fn clone(&self) -> YieldWithdrawConfirmedWebhookPayload
fn clone(&self) -> YieldWithdrawConfirmedWebhookPayload
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 YieldWithdrawConfirmedWebhookPayload
impl<'de> Deserialize<'de> for YieldWithdrawConfirmedWebhookPayload
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<&YieldWithdrawConfirmedWebhookPayload> for YieldWithdrawConfirmedWebhookPayload
impl From<&YieldWithdrawConfirmedWebhookPayload> for YieldWithdrawConfirmedWebhookPayload
Source§fn from(value: &YieldWithdrawConfirmedWebhookPayload) -> Self
fn from(value: &YieldWithdrawConfirmedWebhookPayload) -> Self
Converts to this type from the input type.
Source§impl From<YieldWithdrawConfirmedWebhookPayload> for WebhookPayload
impl From<YieldWithdrawConfirmedWebhookPayload> for WebhookPayload
Source§fn from(value: YieldWithdrawConfirmedWebhookPayload) -> Self
fn from(value: YieldWithdrawConfirmedWebhookPayload) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for YieldWithdrawConfirmedWebhookPayload
impl RefUnwindSafe for YieldWithdrawConfirmedWebhookPayload
impl Send for YieldWithdrawConfirmedWebhookPayload
impl Sync for YieldWithdrawConfirmedWebhookPayload
impl Unpin for YieldWithdrawConfirmedWebhookPayload
impl UnsafeUnpin for YieldWithdrawConfirmedWebhookPayload
impl UnwindSafe for YieldWithdrawConfirmedWebhookPayload
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