pub enum RejectedReason {
Ephemeral,
Duplicate,
Deleted,
Expired,
Replaced,
InvalidDelete,
Other,
}
Expand description
Reason why event wasn’t stored into the database
Variants§
Ephemeral
Ephemeral events aren’t expected to be stored
Duplicate
The event already exists
Deleted
The event was deleted
Expired
The event is expired
Replaced
The event was replaced
InvalidDelete
Attempt to delete a non-owned event
Other
Other reason
Trait Implementations§
Source§impl Clone for RejectedReason
impl Clone for RejectedReason
Source§fn clone(&self) -> RejectedReason
fn clone(&self) -> RejectedReason
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 RejectedReason
impl Debug for RejectedReason
Source§impl Hash for RejectedReason
impl Hash for RejectedReason
Source§impl Ord for RejectedReason
impl Ord for RejectedReason
Source§fn cmp(&self, other: &RejectedReason) -> Ordering
fn cmp(&self, other: &RejectedReason) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RejectedReason
impl PartialEq for RejectedReason
Source§impl PartialOrd for RejectedReason
impl PartialOrd for RejectedReason
impl Copy for RejectedReason
impl Eq for RejectedReason
impl StructuralPartialEq for RejectedReason
Auto Trait Implementations§
impl Freeze for RejectedReason
impl RefUnwindSafe for RejectedReason
impl Send for RejectedReason
impl Sync for RejectedReason
impl Unpin for RejectedReason
impl UnwindSafe for RejectedReason
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