pub struct ProblemType {
pub problem_type_data: Vec<Weaknesses>,
}Expand description
This is problem type information (e.g. CWE identifier).
Must contain: At least one entry, can be text, OWASP, CWE, please note that while only one is required you can use more than one (or indeed all three) as long as they are correct.
Fields§
§problem_type_data: Vec<Weaknesses>Trait Implementations§
Source§impl Clone for ProblemType
impl Clone for ProblemType
Source§fn clone(&self) -> ProblemType
fn clone(&self) -> ProblemType
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 ProblemType
impl Debug for ProblemType
Source§impl<'de> Deserialize<'de> for ProblemType
impl<'de> Deserialize<'de> for ProblemType
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 ProblemType
impl PartialEq for ProblemType
Source§impl Serialize for ProblemType
impl Serialize for ProblemType
impl StructuralPartialEq for ProblemType
Auto Trait Implementations§
impl Freeze for ProblemType
impl RefUnwindSafe for ProblemType
impl Send for ProblemType
impl Sync for ProblemType
impl Unpin for ProblemType
impl UnwindSafe for ProblemType
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