pub struct SecurityReport {
pub plugin_name: String,
pub security_level: SecurityLevel,
pub violations: Vec<SecurityViolation>,
pub recommendations: Vec<String>,
pub last_scan: Option<SystemTime>,
}Expand description
Security report for a plugin
Fields§
§plugin_name: String§security_level: SecurityLevel§violations: Vec<SecurityViolation>§recommendations: Vec<String>§last_scan: Option<SystemTime>Trait Implementations§
Auto Trait Implementations§
impl Freeze for SecurityReport
impl RefUnwindSafe for SecurityReport
impl Send for SecurityReport
impl Sync for SecurityReport
impl Unpin for SecurityReport
impl UnwindSafe for SecurityReport
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more