pub struct Cwe {
pub id: Option<String>,
pub references: Option<Vec<Reference>>,
}Expand description
CWE stands for Common Weakness Enumeration. Information about this weakness, as described by CWE.
This type is not used in any activity, and only used as part of another schema.
Fields§
§id: Option<String>The CWE identifier, e.g. CWE-94
references: Option<Vec<Reference>>Any reference to the details on the CWE, for example, https://cwe.mitre.org/data/definitions/94.html
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Cwe
impl<'de> Deserialize<'de> for Cwe
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
impl Part for Cwe
Auto Trait Implementations§
impl Freeze for Cwe
impl RefUnwindSafe for Cwe
impl Send for Cwe
impl Sync for Cwe
impl Unpin for Cwe
impl UnwindSafe for Cwe
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