pub enum EntityAction {
Update,
Delete,
Persist,
Recover,
}Expand description
Actions that can be applied to an entity to transition its status.
Variants§
Trait Implementations§
Source§impl Clone for EntityAction
impl Clone for EntityAction
Source§fn clone(&self) -> EntityAction
fn clone(&self) -> EntityAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EntityAction
Source§impl Debug for EntityAction
impl Debug for EntityAction
Source§impl Display for EntityAction
impl Display for EntityAction
impl Eq for EntityAction
Source§impl Hash for EntityAction
impl Hash for EntityAction
Source§impl PartialEq for EntityAction
impl PartialEq for EntityAction
Source§fn eq(&self, other: &EntityAction) -> bool
fn eq(&self, other: &EntityAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EntityAction
Auto Trait Implementations§
impl Freeze for EntityAction
impl RefUnwindSafe for EntityAction
impl Send for EntityAction
impl Sync for EntityAction
impl Unpin for EntityAction
impl UnsafeUnpin for EntityAction
impl UnwindSafe for EntityAction
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