pub struct UserWalletCreatedWebhookPayload {
pub type_: UserWalletCreatedWebhookPayloadType,
pub user: User,
pub wallet: LinkedAccountBaseWallet,
}Expand description
Payload for the user.wallet_created webhook event.
JSON schema
{
"title": "UserWalletCreatedWebhookPayload",
"description": "Payload for the user.wallet_created webhook event.",
"type": "object",
"required": [
"type",
"user",
"wallet"
],
"properties": {
"type": {
"description": "The type of webhook event.",
"type": "string",
"enum": [
"user.wallet_created"
]
},
"user": {
"$ref": "#/components/schemas/User"
},
"wallet": {
"$ref": "#/components/schemas/LinkedAccountBaseWallet"
}
},
"x-stainless-model": "webhooks.user_wallet_created_webhook_payload"
}Fields§
§type_: UserWalletCreatedWebhookPayloadTypeThe type of webhook event.
user: User§wallet: LinkedAccountBaseWalletTrait Implementations§
Source§impl Clone for UserWalletCreatedWebhookPayload
impl Clone for UserWalletCreatedWebhookPayload
Source§fn clone(&self) -> UserWalletCreatedWebhookPayload
fn clone(&self) -> UserWalletCreatedWebhookPayload
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 UserWalletCreatedWebhookPayload
impl<'de> Deserialize<'de> for UserWalletCreatedWebhookPayload
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<&UserWalletCreatedWebhookPayload> for UserWalletCreatedWebhookPayload
impl From<&UserWalletCreatedWebhookPayload> for UserWalletCreatedWebhookPayload
Source§fn from(value: &UserWalletCreatedWebhookPayload) -> Self
fn from(value: &UserWalletCreatedWebhookPayload) -> Self
Converts to this type from the input type.
Source§impl From<UserWalletCreatedWebhookPayload> for WebhookPayload
impl From<UserWalletCreatedWebhookPayload> for WebhookPayload
Source§fn from(value: UserWalletCreatedWebhookPayload) -> Self
fn from(value: UserWalletCreatedWebhookPayload) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UserWalletCreatedWebhookPayload
impl RefUnwindSafe for UserWalletCreatedWebhookPayload
impl Send for UserWalletCreatedWebhookPayload
impl Sync for UserWalletCreatedWebhookPayload
impl Unpin for UserWalletCreatedWebhookPayload
impl UnsafeUnpin for UserWalletCreatedWebhookPayload
impl UnwindSafe for UserWalletCreatedWebhookPayload
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