fusionauth_rust_client/models/
user_registration_update_complete_event.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct UserRegistrationUpdateCompleteEvent {
17 #[serde(rename = "applicationId", skip_serializing_if = "Option::is_none")]
18 pub application_id: Option<uuid::Uuid>,
19 #[serde(rename = "original", skip_serializing_if = "Option::is_none")]
20 pub original: Option<Box<models::UserRegistration>>,
21 #[serde(rename = "registration", skip_serializing_if = "Option::is_none")]
22 pub registration: Option<Box<models::UserRegistration>>,
23 #[serde(rename = "user", skip_serializing_if = "Option::is_none")]
24 pub user: Option<Box<models::User>>,
25}
26
27impl UserRegistrationUpdateCompleteEvent {
28 pub fn new() -> UserRegistrationUpdateCompleteEvent {
30 UserRegistrationUpdateCompleteEvent {
31 application_id: None,
32 original: None,
33 registration: None,
34 user: None,
35 }
36 }
37}
38