pub enum SecuritySummary {
Critical,
Medium,
Low,
None,
}Expand description
Overall security outcome for a file or package review.
Variants§
Critical
Critical security concern found.
Medium
Medium security concern found.
Low
Low security concern found.
None
No security concern found.
Trait Implementations§
Source§impl Clone for SecuritySummary
impl Clone for SecuritySummary
Source§fn clone(&self) -> SecuritySummary
fn clone(&self) -> SecuritySummary
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 SecuritySummary
impl Debug for SecuritySummary
Source§impl Default for SecuritySummary
impl Default for SecuritySummary
Source§fn default() -> SecuritySummary
fn default() -> SecuritySummary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SecuritySummary
impl<'de> Deserialize<'de> for SecuritySummary
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 SecuritySummary
impl Display for SecuritySummary
Source§impl FromStr for SecuritySummary
impl FromStr for SecuritySummary
Source§impl Hash for SecuritySummary
impl Hash for SecuritySummary
Source§impl Ord for SecuritySummary
impl Ord for SecuritySummary
Source§fn cmp(&self, other: &SecuritySummary) -> Ordering
fn cmp(&self, other: &SecuritySummary) -> 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 SecuritySummary
impl PartialEq for SecuritySummary
Source§fn eq(&self, other: &SecuritySummary) -> bool
fn eq(&self, other: &SecuritySummary) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SecuritySummary
impl PartialOrd for SecuritySummary
Source§impl Serialize for SecuritySummary
impl Serialize for SecuritySummary
impl Copy for SecuritySummary
impl Eq for SecuritySummary
impl StructuralPartialEq for SecuritySummary
Auto Trait Implementations§
impl Freeze for SecuritySummary
impl RefUnwindSafe for SecuritySummary
impl Send for SecuritySummary
impl Sync for SecuritySummary
impl Unpin for SecuritySummary
impl UnsafeUnpin for SecuritySummary
impl UnwindSafe for SecuritySummary
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> 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.