pub struct SecurityCategory {
pub id: String,
pub title: String,
pub cwe: Option<u32>,
pub include_required: bool,
}Expand description
A user-facing security candidate category, valid in security.categories
include / exclude.
Fields§
§id: StringThe category id used in security.categories.include / exclude.
title: StringHuman-readable title.
cwe: Option<u32>The CWE number, when the category maps to one (None for the
entropy-based hardcoded-secret detector).
include_required: boolWhether the category runs only when explicitly named in
categories.include.
Trait Implementations§
Source§impl Clone for SecurityCategory
impl Clone for SecurityCategory
Auto Trait Implementations§
impl Freeze for SecurityCategory
impl RefUnwindSafe for SecurityCategory
impl Send for SecurityCategory
impl Sync for SecurityCategory
impl Unpin for SecurityCategory
impl UnsafeUnpin for SecurityCategory
impl UnwindSafe for SecurityCategory
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