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