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