pub enum RepositoryHooks {
Read,
Write,
}
Expand description
Variants§
Trait Implementations§
Source§impl Clone for RepositoryHooks
impl Clone for RepositoryHooks
Source§fn clone(&self) -> RepositoryHooks
fn clone(&self) -> RepositoryHooks
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 RepositoryHooks
impl Debug for RepositoryHooks
Source§impl Default for RepositoryHooks
impl Default for RepositoryHooks
Source§fn default() -> RepositoryHooks
fn default() -> RepositoryHooks
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RepositoryHooks
impl<'de> Deserialize<'de> for RepositoryHooks
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 RepositoryHooks
impl Hash for RepositoryHooks
Source§impl Ord for RepositoryHooks
impl Ord for RepositoryHooks
Source§fn cmp(&self, other: &RepositoryHooks) -> Ordering
fn cmp(&self, other: &RepositoryHooks) -> 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 RepositoryHooks
impl PartialEq for RepositoryHooks
Source§impl PartialOrd for RepositoryHooks
impl PartialOrd for RepositoryHooks
Source§impl Serialize for RepositoryHooks
impl Serialize for RepositoryHooks
impl Copy for RepositoryHooks
impl Eq for RepositoryHooks
impl StructuralPartialEq for RepositoryHooks
Auto Trait Implementations§
impl Freeze for RepositoryHooks
impl RefUnwindSafe for RepositoryHooks
impl Send for RepositoryHooks
impl Sync for RepositoryHooks
impl Unpin for RepositoryHooks
impl UnwindSafe for RepositoryHooks
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.