pub struct FindingDetails {
pub severity: u32,
pub cwe: CweInfo,
pub file_path: String,
pub file_name: String,
pub module: String,
pub relative_location: i32,
pub finding_category: FindingCategory,
pub procedure: String,
pub exploitability: i32,
pub attack_vector: String,
pub file_line_number: u32,
}Expand description
Detailed information about a finding
Fields§
§severity: u32Severity level (0-5, where 5 is highest)
cwe: CweInfoCWE information
file_path: StringFile path where finding was located
file_name: StringFile name
module: StringModule/library name
relative_location: i32Relative location within the file
finding_category: FindingCategoryFinding category
procedure: StringProcedure/method name where finding occurs
exploitability: i32Exploitability rating
attack_vector: StringAttack vector description
file_line_number: u32Line number in the file
Trait Implementations§
Source§impl Clone for FindingDetails
impl Clone for FindingDetails
Source§fn clone(&self) -> FindingDetails
fn clone(&self) -> FindingDetails
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 FindingDetails
impl Debug for FindingDetails
Source§impl<'de> Deserialize<'de> for FindingDetails
impl<'de> Deserialize<'de> for FindingDetails
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
Auto Trait Implementations§
impl Freeze for FindingDetails
impl RefUnwindSafe for FindingDetails
impl Send for FindingDetails
impl Sync for FindingDetails
impl Unpin for FindingDetails
impl UnwindSafe for FindingDetails
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