pub enum SecretSensitivity {
Low,
Medium,
High,
Critical,
}Expand description
Secret sensitivity labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SecretSensitivity
impl Clone for SecretSensitivity
Source§fn clone(&self) -> SecretSensitivity
fn clone(&self) -> SecretSensitivity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SecretSensitivity
impl Debug for SecretSensitivity
Source§impl Display for SecretSensitivity
impl Display for SecretSensitivity
Source§impl FromStr for SecretSensitivity
impl FromStr for SecretSensitivity
Source§type Err = SecretParseError
type Err = SecretParseError
The associated error which can be returned from parsing.
Source§fn from_str(
input: &str,
) -> Result<SecretSensitivity, <SecretSensitivity as FromStr>::Err>
fn from_str( input: &str, ) -> Result<SecretSensitivity, <SecretSensitivity as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for SecretSensitivity
impl Hash for SecretSensitivity
Source§impl Ord for SecretSensitivity
impl Ord for SecretSensitivity
Source§fn cmp(&self, other: &SecretSensitivity) -> Ordering
fn cmp(&self, other: &SecretSensitivity) -> Ordering
1.21.0 (const: unstable) · 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 SecretSensitivity
impl PartialEq for SecretSensitivity
Source§fn eq(&self, other: &SecretSensitivity) -> bool
fn eq(&self, other: &SecretSensitivity) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SecretSensitivity
impl PartialOrd for SecretSensitivity
impl Copy for SecretSensitivity
impl Eq for SecretSensitivity
impl StructuralPartialEq for SecretSensitivity
Auto Trait Implementations§
impl Freeze for SecretSensitivity
impl RefUnwindSafe for SecretSensitivity
impl Send for SecretSensitivity
impl Sync for SecretSensitivity
impl Unpin for SecretSensitivity
impl UnsafeUnpin for SecretSensitivity
impl UnwindSafe for SecretSensitivity
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