pub struct ProblemTypeDescription {
pub language: String,
pub description: String,
pub cwe_id: Option<String>,
pub type: Option<String>,
pub references: Vec<Reference>,
}
Fields§
§language: String
§description: String
Text description of problemType, or title from CWE or OWASP.
cwe_id: Option<String>
CWE ID of the CWE that best describes this problemType entry.
type: Option<String>
Problemtype source, text, OWASP, CWE, etc.,
references: Vec<Reference>
This is reference data in the form of URLs or file objects (uuencoded and embedded within the JSON file, exact format to be decided, e.g. we may require a compressed format so the objects require unpacking before they are "dangerous").
Trait Implementations§
Source§impl Clone for ProblemTypeDescription
impl Clone for ProblemTypeDescription
Source§fn clone(&self) -> ProblemTypeDescription
fn clone(&self) -> ProblemTypeDescription
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 ProblemTypeDescription
impl Debug for ProblemTypeDescription
Source§impl<'de> Deserialize<'de> for ProblemTypeDescription
impl<'de> Deserialize<'de> for ProblemTypeDescription
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 PartialEq for ProblemTypeDescription
impl PartialEq for ProblemTypeDescription
Source§impl Serialize for ProblemTypeDescription
impl Serialize for ProblemTypeDescription
impl Eq for ProblemTypeDescription
impl StructuralPartialEq for ProblemTypeDescription
Auto Trait Implementations§
impl Freeze for ProblemTypeDescription
impl RefUnwindSafe for ProblemTypeDescription
impl Send for ProblemTypeDescription
impl Sync for ProblemTypeDescription
impl Unpin for ProblemTypeDescription
impl UnwindSafe for ProblemTypeDescription
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