Enum monitor_types::PermissionLevel
source · pub enum PermissionLevel {
None,
Read,
Execute,
Update,
}Variants§
Trait Implementations§
source§impl Clone for PermissionLevel
impl Clone for PermissionLevel
source§fn clone(&self) -> PermissionLevel
fn clone(&self) -> PermissionLevel
Returns a copy 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 PermissionLevel
impl Debug for PermissionLevel
source§impl Default for &PermissionLevel
impl Default for &PermissionLevel
source§impl Default for PermissionLevel
impl Default for PermissionLevel
source§impl<'de> Deserialize<'de> for PermissionLevel
impl<'de> Deserialize<'de> for PermissionLevel
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 Diff for PermissionLevel
impl Diff for PermissionLevel
§type Repr = PermissionLevelDiff
type Repr = PermissionLevelDiff
The type associated with the structs’ difference
source§fn diff_custom<D>(&self, other: &Self, visitor: &D) -> <D as Differ<Self>>::Reprwhere
D: Differ<Self>,
fn diff_custom<D>(&self, other: &Self, visitor: &D) -> <D as Differ<Self>>::Reprwhere
D: Differ<Self>,
Produces a diff between two structs, using an external diffing implementation
source§fn apply_custom<D>(&mut self, diff: &<D as Differ<Self>>::Repr, visitor: &D)where
D: Differ<Self>,
fn apply_custom<D>(&mut self, diff: &<D as Differ<Self>>::Repr, visitor: &D)where
D: Differ<Self>,
Applies the diff directly to the struct, using an external diffing implementation
source§impl Display for PermissionLevel
impl Display for PermissionLevel
source§impl FromStr for PermissionLevel
impl FromStr for PermissionLevel
source§impl Hash for PermissionLevel
impl Hash for PermissionLevel
source§impl Ord for PermissionLevel
impl Ord for PermissionLevel
source§fn cmp(&self, other: &PermissionLevel) -> Ordering
fn cmp(&self, other: &PermissionLevel) -> 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<PermissionLevel> for PermissionLevel
impl PartialEq<PermissionLevel> for PermissionLevel
source§fn eq(&self, other: &PermissionLevel) -> bool
fn eq(&self, other: &PermissionLevel) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<PermissionLevel> for PermissionLevel
impl PartialOrd<PermissionLevel> for PermissionLevel
source§fn partial_cmp(&self, other: &PermissionLevel) -> Option<Ordering>
fn partial_cmp(&self, other: &PermissionLevel) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for PermissionLevel
impl Serialize for PermissionLevel
source§impl TryFrom<&str> for PermissionLevel
impl TryFrom<&str> for PermissionLevel
impl Copy for PermissionLevel
impl Eq for PermissionLevel
impl StructuralEq for PermissionLevel
impl StructuralPartialEq for PermissionLevel
Auto Trait Implementations§
impl RefUnwindSafe for PermissionLevel
impl Send for PermissionLevel
impl Sync for PermissionLevel
impl Unpin for PermissionLevel
impl UnwindSafe for PermissionLevel
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.