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