fusionauth_rust_client/models/
user_identity_provider_link_event.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct UserIdentityProviderLinkEvent {
17 #[serde(rename = "identityProviderLink", skip_serializing_if = "Option::is_none")]
18 pub identity_provider_link: Option<Box<models::IdentityProviderLink>>,
19 #[serde(rename = "user", skip_serializing_if = "Option::is_none")]
20 pub user: Option<Box<models::User>>,
21}
22
23impl UserIdentityProviderLinkEvent {
24 pub fn new() -> UserIdentityProviderLinkEvent {
26 UserIdentityProviderLinkEvent {
27 identity_provider_link: None,
28 user: None,
29 }
30 }
31}
32