pub enum SaveEventStatus {
Success,
Rejected(RejectedReason),
}
Expand description
Save event status
Variants§
Implementations§
Source§impl SaveEventStatus
impl SaveEventStatus
Sourcepub fn is_success(&self) -> bool
pub fn is_success(&self) -> bool
Check if event is successfully saved
Trait Implementations§
Source§impl Clone for SaveEventStatus
impl Clone for SaveEventStatus
Source§fn clone(&self) -> SaveEventStatus
fn clone(&self) -> SaveEventStatus
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 SaveEventStatus
impl Debug for SaveEventStatus
Source§impl Hash for SaveEventStatus
impl Hash for SaveEventStatus
Source§impl Ord for SaveEventStatus
impl Ord for SaveEventStatus
Source§fn cmp(&self, other: &SaveEventStatus) -> Ordering
fn cmp(&self, other: &SaveEventStatus) -> 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 SaveEventStatus
impl PartialEq for SaveEventStatus
Source§impl PartialOrd for SaveEventStatus
impl PartialOrd for SaveEventStatus
impl Copy for SaveEventStatus
impl Eq for SaveEventStatus
impl StructuralPartialEq for SaveEventStatus
Auto Trait Implementations§
impl Freeze for SaveEventStatus
impl RefUnwindSafe for SaveEventStatus
impl Send for SaveEventStatus
impl Sync for SaveEventStatus
impl Unpin for SaveEventStatus
impl UnwindSafe for SaveEventStatus
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