pub enum ThreatSeverity {
Low,
Medium,
High,
Critical,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ThreatSeverity
impl Clone for ThreatSeverity
Source§fn clone(&self) -> ThreatSeverity
fn clone(&self) -> ThreatSeverity
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 moreimpl Copy for ThreatSeverity
Source§impl Debug for ThreatSeverity
impl Debug for ThreatSeverity
Source§impl<'de> Deserialize<'de> for ThreatSeverity
impl<'de> Deserialize<'de> for ThreatSeverity
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
impl Eq for ThreatSeverity
Source§impl Ord for ThreatSeverity
impl Ord for ThreatSeverity
Source§fn cmp(&self, other: &ThreatSeverity) -> Ordering
fn cmp(&self, other: &ThreatSeverity) -> 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 ThreatSeverity
impl PartialEq for ThreatSeverity
Source§impl PartialOrd for ThreatSeverity
impl PartialOrd for ThreatSeverity
Source§impl Serialize for ThreatSeverity
impl Serialize for ThreatSeverity
impl StructuralPartialEq for ThreatSeverity
Auto Trait Implementations§
impl Freeze for ThreatSeverity
impl RefUnwindSafe for ThreatSeverity
impl Send for ThreatSeverity
impl Sync for ThreatSeverity
impl Unpin for ThreatSeverity
impl UnsafeUnpin for ThreatSeverity
impl UnwindSafe for ThreatSeverity
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more