pub struct UserDeleteEvent {
pub user: Option<Box<User>>,
}
Expand description
UserDeleteEvent : Models the User Event (and can be converted to JSON) that is used for all user modifications (create, update, delete).
Fields§
§user: Option<Box<User>>
Implementations§
Source§impl UserDeleteEvent
impl UserDeleteEvent
Sourcepub fn new() -> UserDeleteEvent
pub fn new() -> UserDeleteEvent
Models the User Event (and can be converted to JSON) that is used for all user modifications (create, update, delete).
Trait Implementations§
Source§impl Clone for UserDeleteEvent
impl Clone for UserDeleteEvent
Source§fn clone(&self) -> UserDeleteEvent
fn clone(&self) -> UserDeleteEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UserDeleteEvent
impl Debug for UserDeleteEvent
Source§impl Default for UserDeleteEvent
impl Default for UserDeleteEvent
Source§fn default() -> UserDeleteEvent
fn default() -> UserDeleteEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserDeleteEvent
impl<'de> Deserialize<'de> for UserDeleteEvent
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 UserDeleteEvent
impl PartialEq for UserDeleteEvent
Source§impl Serialize for UserDeleteEvent
impl Serialize for UserDeleteEvent
impl StructuralPartialEq for UserDeleteEvent
Auto Trait Implementations§
impl Freeze for UserDeleteEvent
impl RefUnwindSafe for UserDeleteEvent
impl Send for UserDeleteEvent
impl Sync for UserDeleteEvent
impl Unpin for UserDeleteEvent
impl UnwindSafe for UserDeleteEvent
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