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