pub struct Discovered {
pub analysis_completed: Option<AnalysisCompleted>,
pub analysis_error: Option<Vec<Status>>,
pub analysis_status: Option<String>,
pub analysis_status_error: Option<Status>,
pub continuous_analysis: Option<String>,
pub last_analysis_time: Option<DateTime<Utc>>,
pub last_scan_time: Option<DateTime<Utc>>,
pub sbom_status: Option<SBOMStatus>,
}
Expand description
Provides information about the analysis status of a discovered resource.
This type is not used in any activity, and only used as part of another schema.
Fields§
§analysis_completed: Option<AnalysisCompleted>
no description provided
analysis_error: Option<Vec<Status>>
Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.
analysis_status: Option<String>
The status of discovery for the resource.
analysis_status_error: Option<Status>
When an error is encountered this will contain a LocalizedMessage under details to show to the user. The LocalizedMessage is output only and populated by the API.
continuous_analysis: Option<String>
Whether the resource is continuously analyzed.
last_analysis_time: Option<DateTime<Utc>>
The last time continuous analysis was done for this resource. Deprecated, do not use.
last_scan_time: Option<DateTime<Utc>>
The last time this resource was scanned.
sbom_status: Option<SBOMStatus>
The status of an SBOM generation.
Trait Implementations§
Source§impl Clone for Discovered
impl Clone for Discovered
Source§fn clone(&self) -> Discovered
fn clone(&self) -> Discovered
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 Discovered
impl Debug for Discovered
Source§impl Default for Discovered
impl Default for Discovered
Source§fn default() -> Discovered
fn default() -> Discovered
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Discovered
impl<'de> Deserialize<'de> for Discovered
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
Source§impl Serialize for Discovered
impl Serialize for Discovered
impl Part for Discovered
Auto Trait Implementations§
impl Freeze for Discovered
impl RefUnwindSafe for Discovered
impl Send for Discovered
impl Sync for Discovered
impl Unpin for Discovered
impl UnwindSafe for Discovered
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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