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