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