pub struct SecurityIssue {
pub attack_pattern: String,
pub location: String,
pub description: String,
pub suggested_fix: String,
pub severity: IssueSeverity,
}Expand description
A detected security issue.
Fields§
§attack_pattern: StringAttack pattern involved.
location: StringLocation in code (file:line).
description: StringDescription of the issue.
suggested_fix: StringSuggested fix.
severity: IssueSeveritySeverity level.
Trait Implementations§
Source§impl Clone for SecurityIssue
impl Clone for SecurityIssue
Source§fn clone(&self) -> SecurityIssue
fn clone(&self) -> SecurityIssue
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 moreAuto Trait Implementations§
impl Freeze for SecurityIssue
impl RefUnwindSafe for SecurityIssue
impl Send for SecurityIssue
impl Sync for SecurityIssue
impl Unpin for SecurityIssue
impl UnsafeUnpin for SecurityIssue
impl UnwindSafe for SecurityIssue
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