pub struct UserDeleteCompleteEvent {
pub user: Option<Box<User>>,
pub create_instant: Option<i64>,
pub id: Option<Uuid>,
pub info: Option<Box<EventInfo>>,
pub tenant_id: Option<Uuid>,
pub type: Option<EventType>,
}
Expand description
UserDeleteCompleteEvent : Models the User Event (and can be converted to JSON) that is used for all user modifications (create, update, delete).
This is different than user.delete because it is sent after the tx is committed, this cannot be transactional.
Fields§
§user: Option<Box<User>>
§create_instant: Option<i64>
The number of milliseconds since the unix epoch: January 1, 1970 00:00:00 UTC. This value is always in UTC.
id: Option<Uuid>
§info: Option<Box<EventInfo>>
§tenant_id: Option<Uuid>
§type: Option<EventType>
Implementations§
source§impl UserDeleteCompleteEvent
impl UserDeleteCompleteEvent
sourcepub fn new() -> UserDeleteCompleteEvent
pub fn new() -> UserDeleteCompleteEvent
Models the User Event (and can be converted to JSON) that is used for all user modifications (create, update, delete).
This is different than user.delete because it is sent after the tx is committed, this cannot be transactional.
Trait Implementations§
source§impl Clone for UserDeleteCompleteEvent
impl Clone for UserDeleteCompleteEvent
source§fn clone(&self) -> UserDeleteCompleteEvent
fn clone(&self) -> UserDeleteCompleteEvent
Returns a copy 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 Debug for UserDeleteCompleteEvent
impl Debug for UserDeleteCompleteEvent
source§impl Default for UserDeleteCompleteEvent
impl Default for UserDeleteCompleteEvent
source§fn default() -> UserDeleteCompleteEvent
fn default() -> UserDeleteCompleteEvent
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UserDeleteCompleteEvent
impl<'de> Deserialize<'de> for UserDeleteCompleteEvent
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 UserDeleteCompleteEvent
impl PartialEq for UserDeleteCompleteEvent
source§fn eq(&self, other: &UserDeleteCompleteEvent) -> bool
fn eq(&self, other: &UserDeleteCompleteEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UserDeleteCompleteEvent
impl Serialize for UserDeleteCompleteEvent
impl StructuralPartialEq for UserDeleteCompleteEvent
Auto Trait Implementations§
impl RefUnwindSafe for UserDeleteCompleteEvent
impl Send for UserDeleteCompleteEvent
impl Sync for UserDeleteCompleteEvent
impl Unpin for UserDeleteCompleteEvent
impl UnwindSafe for UserDeleteCompleteEvent
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