pub struct UserCreateEvent {
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
UserCreateEvent : Models the User Create Event.
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 UserCreateEvent
impl UserCreateEvent
sourcepub fn new() -> UserCreateEvent
pub fn new() -> UserCreateEvent
Models the User Create Event.
Trait Implementations§
source§impl Clone for UserCreateEvent
impl Clone for UserCreateEvent
source§fn clone(&self) -> UserCreateEvent
fn clone(&self) -> UserCreateEvent
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 UserCreateEvent
impl Debug for UserCreateEvent
source§impl Default for UserCreateEvent
impl Default for UserCreateEvent
source§fn default() -> UserCreateEvent
fn default() -> UserCreateEvent
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UserCreateEvent
impl<'de> Deserialize<'de> for UserCreateEvent
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 UserCreateEvent
impl PartialEq for UserCreateEvent
source§fn eq(&self, other: &UserCreateEvent) -> bool
fn eq(&self, other: &UserCreateEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UserCreateEvent
impl Serialize for UserCreateEvent
impl StructuralPartialEq for UserCreateEvent
Auto Trait Implementations§
impl RefUnwindSafe for UserCreateEvent
impl Send for UserCreateEvent
impl Sync for UserCreateEvent
impl Unpin for UserCreateEvent
impl UnwindSafe for UserCreateEvent
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