pub enum EventAction {
Added,
Updated,
Merged,
Deleted,
Star,
}
Expand description
The type of action to receive notifications about. Wildcard will match all supported actions.
Variants§
Trait Implementations§
Source§impl Clone for EventAction
impl Clone for EventAction
Source§fn clone(&self) -> EventAction
fn clone(&self) -> EventAction
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 EventAction
impl Debug for EventAction
Source§impl Default for EventAction
impl Default for EventAction
Source§fn default() -> EventAction
fn default() -> EventAction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EventAction
impl<'de> Deserialize<'de> for EventAction
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 EventAction
impl Hash for EventAction
Source§impl Ord for EventAction
impl Ord for EventAction
Source§fn cmp(&self, other: &EventAction) -> Ordering
fn cmp(&self, other: &EventAction) -> 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 EventAction
impl PartialEq for EventAction
Source§impl PartialOrd for EventAction
impl PartialOrd for EventAction
Source§impl Serialize for EventAction
impl Serialize for EventAction
impl Copy for EventAction
impl Eq for EventAction
impl StructuralPartialEq for EventAction
Auto Trait Implementations§
impl Freeze for EventAction
impl RefUnwindSafe for EventAction
impl Send for EventAction
impl Sync for EventAction
impl Unpin for EventAction
impl UnwindSafe for EventAction
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.