pub enum CweInfoItemType {
Category,
View,
PillarWeakness,
BaseWeakness,
VariantWeakness,
ChainWeakness,
CompoundWeakness,
DeprecatedWeakness,
DeprecatedCategory,
DeprecatedView,
}
Expand description
Type of CWE object
JSON schema
{
"description": "Type of CWE object",
"type": "string",
"enum": [
"category",
"view",
"pillar_weakness",
"base_weakness",
"variant_weakness",
"chain_weakness",
"compound_weakness",
"deprecated_weakness",
"deprecated_category",
"deprecated_view"
]
}
Variants§
Category
View
PillarWeakness
BaseWeakness
VariantWeakness
ChainWeakness
CompoundWeakness
DeprecatedWeakness
DeprecatedCategory
DeprecatedView
Trait Implementations§
Source§impl Clone for CweInfoItemType
impl Clone for CweInfoItemType
Source§fn clone(&self) -> CweInfoItemType
fn clone(&self) -> CweInfoItemType
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 Debug for CweInfoItemType
impl Debug for CweInfoItemType
Source§impl<'de> Deserialize<'de> for CweInfoItemType
impl<'de> Deserialize<'de> for CweInfoItemType
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 From<&CweInfoItemType> for CweInfoItemType
impl From<&CweInfoItemType> for CweInfoItemType
Source§fn from(value: &CweInfoItemType) -> Self
fn from(value: &CweInfoItemType) -> Self
Converts to this type from the input type.
Source§impl FromStr for CweInfoItemType
impl FromStr for CweInfoItemType
Source§impl Hash for CweInfoItemType
impl Hash for CweInfoItemType
Source§impl Ord for CweInfoItemType
impl Ord for CweInfoItemType
Source§fn cmp(&self, other: &CweInfoItemType) -> Ordering
fn cmp(&self, other: &CweInfoItemType) -> 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 CweInfoItemType
impl PartialEq for CweInfoItemType
Source§impl PartialOrd for CweInfoItemType
impl PartialOrd for CweInfoItemType
Source§impl Serialize for CweInfoItemType
impl Serialize for CweInfoItemType
Source§impl ToString for CweInfoItemType
impl ToString for CweInfoItemType
Source§impl TryFrom<&String> for CweInfoItemType
impl TryFrom<&String> for CweInfoItemType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for CweInfoItemType
impl TryFrom<&str> for CweInfoItemType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for CweInfoItemType
impl TryFrom<String> for CweInfoItemType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for CweInfoItemType
impl Eq for CweInfoItemType
impl StructuralPartialEq for CweInfoItemType
Auto Trait Implementations§
impl Freeze for CweInfoItemType
impl RefUnwindSafe for CweInfoItemType
impl Send for CweInfoItemType
impl Sync for CweInfoItemType
impl Unpin for CweInfoItemType
impl UnwindSafe for CweInfoItemType
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.