pub struct SecurityWarning {
pub field_type: String,
pub field_name: String,
pub location: String,
pub severity: SecuritySeverity,
pub message: String,
pub suggestion: String,
}
Expand description
Security warning or error
Fields§
§field_type: String
Type of field that contains sensitive data
field_name: String
Name of the field
location: String
Location where the sensitive data was found
severity: SecuritySeverity
Severity of the issue
message: String
Human-readable message
suggestion: String
Suggestion for fixing the issue
Trait Implementations§
Source§impl Clone for SecurityWarning
impl Clone for SecurityWarning
Source§fn clone(&self) -> SecurityWarning
fn clone(&self) -> SecurityWarning
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 SecurityWarning
impl RefUnwindSafe for SecurityWarning
impl Send for SecurityWarning
impl Sync for SecurityWarning
impl Unpin for SecurityWarning
impl UnwindSafe for SecurityWarning
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