pub struct UserEmailUpdateEvent {
pub previous_email: Option<String>,
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
UserEmailUpdateEvent : Models an event where a user’s email is updated outside of a forgot change password workflow.
Fields§
§previous_email: Option<String>
§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 UserEmailUpdateEvent
impl UserEmailUpdateEvent
sourcepub fn new() -> UserEmailUpdateEvent
pub fn new() -> UserEmailUpdateEvent
Models an event where a user’s email is updated outside of a forgot change password workflow.
Trait Implementations§
source§impl Clone for UserEmailUpdateEvent
impl Clone for UserEmailUpdateEvent
source§fn clone(&self) -> UserEmailUpdateEvent
fn clone(&self) -> UserEmailUpdateEvent
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 UserEmailUpdateEvent
impl Debug for UserEmailUpdateEvent
source§impl Default for UserEmailUpdateEvent
impl Default for UserEmailUpdateEvent
source§fn default() -> UserEmailUpdateEvent
fn default() -> UserEmailUpdateEvent
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UserEmailUpdateEvent
impl<'de> Deserialize<'de> for UserEmailUpdateEvent
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 UserEmailUpdateEvent
impl PartialEq for UserEmailUpdateEvent
source§fn eq(&self, other: &UserEmailUpdateEvent) -> bool
fn eq(&self, other: &UserEmailUpdateEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UserEmailUpdateEvent
impl Serialize for UserEmailUpdateEvent
impl StructuralPartialEq for UserEmailUpdateEvent
Auto Trait Implementations§
impl RefUnwindSafe for UserEmailUpdateEvent
impl Send for UserEmailUpdateEvent
impl Sync for UserEmailUpdateEvent
impl Unpin for UserEmailUpdateEvent
impl UnwindSafe for UserEmailUpdateEvent
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