pub struct ReportsThreatsReport {
pub file: Option<String>,
pub id: Option<String>,
pub policy_id: Option<String>,
pub remediation: Option<String>,
pub scan_id: Option<String>,
pub threat: Option<String>,
pub time: Option<i32>,
}Fields§
§file: Option<String>The file that contained the threat.
id: Option<String>A unique identifier for the report.
policy_id: Option<String>The id of the policy that found this threat.
remediation: Option<String>The action that was taken to remediate the threat.
scan_id: Option<String>The id of the scan report this threat is associated with.
threat: Option<String>A description of the threat that was found.
time: Option<i32>Trait Implementations§
Source§impl Debug for ReportsThreatsReport
impl Debug for ReportsThreatsReport
Source§impl<'de> Deserialize<'de> for ReportsThreatsReport
impl<'de> Deserialize<'de> for ReportsThreatsReport
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 ReportsThreatsReport
impl RefUnwindSafe for ReportsThreatsReport
impl Send for ReportsThreatsReport
impl Sync for ReportsThreatsReport
impl Unpin for ReportsThreatsReport
impl UnwindSafe for ReportsThreatsReport
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