pub enum SecuritySeverity {
Info,
Low,
Medium,
High,
Critical,
}Expand description
Severity level for security findings.
Variants§
Info
Informational — no immediate action needed.
Low
Low severity — minor issue.
Medium
Medium severity — should be addressed.
High
High severity — prompt attention needed.
Critical
Most severe — immediate attention required.
Trait Implementations§
Source§impl Clone for SecuritySeverity
impl Clone for SecuritySeverity
Source§fn clone(&self) -> SecuritySeverity
fn clone(&self) -> SecuritySeverity
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 ComposeSchema for SecuritySeverity
impl ComposeSchema for SecuritySeverity
Source§impl Debug for SecuritySeverity
impl Debug for SecuritySeverity
Source§impl<'de> Deserialize<'de> for SecuritySeverity
impl<'de> Deserialize<'de> for SecuritySeverity
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 Display for SecuritySeverity
impl Display for SecuritySeverity
Source§impl FromStr for SecuritySeverity
impl FromStr for SecuritySeverity
Source§impl Ord for SecuritySeverity
impl Ord for SecuritySeverity
Source§fn cmp(&self, other: &SecuritySeverity) -> Ordering
fn cmp(&self, other: &SecuritySeverity) -> 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 SecuritySeverity
impl PartialEq for SecuritySeverity
Source§impl PartialOrd for SecuritySeverity
impl PartialOrd for SecuritySeverity
Source§impl Serialize for SecuritySeverity
impl Serialize for SecuritySeverity
Source§impl ToSchema for SecuritySeverity
impl ToSchema for SecuritySeverity
impl Eq for SecuritySeverity
impl StructuralPartialEq for SecuritySeverity
Auto Trait Implementations§
impl Freeze for SecuritySeverity
impl RefUnwindSafe for SecuritySeverity
impl Send for SecuritySeverity
impl Sync for SecuritySeverity
impl Unpin for SecuritySeverity
impl UnsafeUnpin for SecuritySeverity
impl UnwindSafe for SecuritySeverity
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.