pub struct UserRegistrationCreateCompleteEvent {
pub application_id: Option<Uuid>,
pub registration: Option<Box<UserRegistration>>,
pub user: Option<Box<User>>,
}
Expand description
UserRegistrationCreateCompleteEvent : Models the User Created Registration Event.
This is different than the user.registration.create event in that it will be sent after the user has been created. This event cannot be made transactional.
Fields§
§application_id: Option<Uuid>
§registration: Option<Box<UserRegistration>>
§user: Option<Box<User>>
Implementations§
Source§impl UserRegistrationCreateCompleteEvent
impl UserRegistrationCreateCompleteEvent
Sourcepub fn new() -> UserRegistrationCreateCompleteEvent
pub fn new() -> UserRegistrationCreateCompleteEvent
Models the User Created Registration Event.
This is different than the user.registration.create event in that it will be sent after the user has been created. This event cannot be made transactional.
Trait Implementations§
Source§impl Clone for UserRegistrationCreateCompleteEvent
impl Clone for UserRegistrationCreateCompleteEvent
Source§fn clone(&self) -> UserRegistrationCreateCompleteEvent
fn clone(&self) -> UserRegistrationCreateCompleteEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for UserRegistrationCreateCompleteEvent
impl Default for UserRegistrationCreateCompleteEvent
Source§fn default() -> UserRegistrationCreateCompleteEvent
fn default() -> UserRegistrationCreateCompleteEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserRegistrationCreateCompleteEvent
impl<'de> Deserialize<'de> for UserRegistrationCreateCompleteEvent
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 PartialEq for UserRegistrationCreateCompleteEvent
impl PartialEq for UserRegistrationCreateCompleteEvent
Source§fn eq(&self, other: &UserRegistrationCreateCompleteEvent) -> bool
fn eq(&self, other: &UserRegistrationCreateCompleteEvent) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UserRegistrationCreateCompleteEvent
Auto Trait Implementations§
impl Freeze for UserRegistrationCreateCompleteEvent
impl RefUnwindSafe for UserRegistrationCreateCompleteEvent
impl Send for UserRegistrationCreateCompleteEvent
impl Sync for UserRegistrationCreateCompleteEvent
impl Unpin for UserRegistrationCreateCompleteEvent
impl UnwindSafe for UserRegistrationCreateCompleteEvent
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