#[non_exhaustive]pub struct ControlInsightsMetadataItem {
pub name: Option<String>,
pub id: Option<String>,
pub evidence_insights: Option<EvidenceInsights>,
pub last_updated: Option<DateTime>,
}
Expand description
A summary of the latest analytics data for a specific control.
This data reflects the total counts for the specified control across all active assessments. Control insights are grouped by control domain, and ranked by the highest total count of non-compliant evidence.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The name of the control.
id: Option<String>
The unique identifier for the control.
evidence_insights: Option<EvidenceInsights>
A breakdown of the compliance check status for the evidence that’s associated with the control.
last_updated: Option<DateTime>
The time when the control insights were last updated.
Implementations§
source§impl ControlInsightsMetadataItem
impl ControlInsightsMetadataItem
sourcepub fn evidence_insights(&self) -> Option<&EvidenceInsights>
pub fn evidence_insights(&self) -> Option<&EvidenceInsights>
A breakdown of the compliance check status for the evidence that’s associated with the control.
sourcepub fn last_updated(&self) -> Option<&DateTime>
pub fn last_updated(&self) -> Option<&DateTime>
The time when the control insights were last updated.
source§impl ControlInsightsMetadataItem
impl ControlInsightsMetadataItem
sourcepub fn builder() -> ControlInsightsMetadataItemBuilder
pub fn builder() -> ControlInsightsMetadataItemBuilder
Creates a new builder-style object to manufacture ControlInsightsMetadataItem
.
Trait Implementations§
source§impl Clone for ControlInsightsMetadataItem
impl Clone for ControlInsightsMetadataItem
source§fn clone(&self) -> ControlInsightsMetadataItem
fn clone(&self) -> ControlInsightsMetadataItem
Returns a copy 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 ControlInsightsMetadataItem
impl Debug for ControlInsightsMetadataItem
source§impl PartialEq for ControlInsightsMetadataItem
impl PartialEq for ControlInsightsMetadataItem
source§fn eq(&self, other: &ControlInsightsMetadataItem) -> bool
fn eq(&self, other: &ControlInsightsMetadataItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ControlInsightsMetadataItem
Auto Trait Implementations§
impl Freeze for ControlInsightsMetadataItem
impl RefUnwindSafe for ControlInsightsMetadataItem
impl Send for ControlInsightsMetadataItem
impl Sync for ControlInsightsMetadataItem
impl Unpin for ControlInsightsMetadataItem
impl UnwindSafe for ControlInsightsMetadataItem
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> 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 moreCreates a shared type from an unshared type.