pub enum EntityStatus {
Active,
Blocked,
MarkedForDeletion,
Archived,
}Expand description
Status of an entity at a point in time.
Variants§
Active
Entity is active and can be used in transactions
Blocked
Entity is blocked for new transactions
MarkedForDeletion
Entity is marked for deletion
Archived
Entity has been archived
Trait Implementations§
Source§impl Clone for EntityStatus
impl Clone for EntityStatus
Source§fn clone(&self) -> EntityStatus
fn clone(&self) -> EntityStatus
Returns a duplicate 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 EntityStatus
impl Debug for EntityStatus
Source§impl Default for EntityStatus
impl Default for EntityStatus
Source§fn default() -> EntityStatus
fn default() -> EntityStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EntityStatus
impl<'de> Deserialize<'de> for EntityStatus
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 Hash for EntityStatus
impl Hash for EntityStatus
Source§impl PartialEq for EntityStatus
impl PartialEq for EntityStatus
Source§impl Serialize for EntityStatus
impl Serialize for EntityStatus
impl Copy for EntityStatus
impl Eq for EntityStatus
impl StructuralPartialEq for EntityStatus
Auto Trait Implementations§
impl Freeze for EntityStatus
impl RefUnwindSafe for EntityStatus
impl Send for EntityStatus
impl Sync for EntityStatus
impl Unpin for EntityStatus
impl UnwindSafe for EntityStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.