pub enum EventKind {
Created,
Updated,
SoftDeleted,
HardDeleted,
Restored,
}Expand description
Kind of lifecycle event.
Used by generated event enums to categorize events.
Variants§
Created
Entity was created.
Updated
Entity was updated.
SoftDeleted
Entity was soft-deleted.
HardDeleted
Entity was hard-deleted (permanently removed).
Restored
Entity was restored from soft-delete.
Implementations§
Trait Implementations§
impl Copy for EventKind
impl Eq for EventKind
impl StructuralPartialEq for EventKind
Auto Trait Implementations§
impl Freeze for EventKind
impl RefUnwindSafe for EventKind
impl Send for EventKind
impl Sync for EventKind
impl Unpin for EventKind
impl UnwindSafe for EventKind
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