pub struct UserCreateCompleteEvent {
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
UserCreateCompleteEvent : Models the User Created Event.
This is different than the user.create event in that it will be sent after the user has been created. This event cannot be made 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 UserCreateCompleteEvent
impl UserCreateCompleteEvent
sourcepub fn new() -> UserCreateCompleteEvent
pub fn new() -> UserCreateCompleteEvent
Models the User Created Event.
This is different than the user.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 UserCreateCompleteEvent
impl Clone for UserCreateCompleteEvent
source§fn clone(&self) -> UserCreateCompleteEvent
fn clone(&self) -> UserCreateCompleteEvent
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 UserCreateCompleteEvent
impl Debug for UserCreateCompleteEvent
source§impl Default for UserCreateCompleteEvent
impl Default for UserCreateCompleteEvent
source§fn default() -> UserCreateCompleteEvent
fn default() -> UserCreateCompleteEvent
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UserCreateCompleteEvent
impl<'de> Deserialize<'de> for UserCreateCompleteEvent
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 UserCreateCompleteEvent
impl PartialEq for UserCreateCompleteEvent
source§fn eq(&self, other: &UserCreateCompleteEvent) -> bool
fn eq(&self, other: &UserCreateCompleteEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UserCreateCompleteEvent
impl Serialize for UserCreateCompleteEvent
impl StructuralPartialEq for UserCreateCompleteEvent
Auto Trait Implementations§
impl RefUnwindSafe for UserCreateCompleteEvent
impl Send for UserCreateCompleteEvent
impl Sync for UserCreateCompleteEvent
impl Unpin for UserCreateCompleteEvent
impl UnwindSafe for UserCreateCompleteEvent
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