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