#[non_exhaustive]pub struct AggregateConformancePackCompliance {
pub compliance_type: Option<ConformancePackComplianceType>,
pub compliant_rule_count: i32,
pub non_compliant_rule_count: i32,
pub total_rule_count: i32,
}Expand description
Provides the number of compliant and noncompliant rules within a conformance pack. Also provides the compliance status of the conformance pack and the total rule count which includes compliant rules, noncompliant rules, and rules that cannot be evaluated due to insufficient data.
A conformance pack is compliant if all of the rules in a conformance packs are compliant. It is noncompliant if any of the rules are not compliant. The compliance status of a conformance pack is INSUFFICIENT_DATA only if all rules within a conformance pack cannot be evaluated due to insufficient data. If some of the rules in a conformance pack are compliant but the compliance status of other rules in that same conformance pack is INSUFFICIENT_DATA, the conformance pack shows compliant.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.compliance_type: Option<ConformancePackComplianceType>The compliance status of the conformance pack.
compliant_rule_count: i32The number of compliant Config Rules.
non_compliant_rule_count: i32The number of noncompliant Config Rules.
total_rule_count: i32Total number of compliant rules, noncompliant rules, and the rules that do not have any applicable resources to evaluate upon resulting in insufficient data.
Implementations
sourceimpl AggregateConformancePackCompliance
impl AggregateConformancePackCompliance
sourcepub fn compliance_type(&self) -> Option<&ConformancePackComplianceType>
pub fn compliance_type(&self) -> Option<&ConformancePackComplianceType>
The compliance status of the conformance pack.
sourcepub fn compliant_rule_count(&self) -> i32
pub fn compliant_rule_count(&self) -> i32
The number of compliant Config Rules.
sourcepub fn non_compliant_rule_count(&self) -> i32
pub fn non_compliant_rule_count(&self) -> i32
The number of noncompliant Config Rules.
sourcepub fn total_rule_count(&self) -> i32
pub fn total_rule_count(&self) -> i32
Total number of compliant rules, noncompliant rules, and the rules that do not have any applicable resources to evaluate upon resulting in insufficient data.
sourceimpl AggregateConformancePackCompliance
impl AggregateConformancePackCompliance
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AggregateConformancePackCompliance
Trait Implementations
sourceimpl Clone for AggregateConformancePackCompliance
impl Clone for AggregateConformancePackCompliance
sourcefn clone(&self) -> AggregateConformancePackCompliance
fn clone(&self) -> AggregateConformancePackCompliance
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl PartialEq<AggregateConformancePackCompliance> for AggregateConformancePackCompliance
impl PartialEq<AggregateConformancePackCompliance> for AggregateConformancePackCompliance
sourcefn eq(&self, other: &AggregateConformancePackCompliance) -> bool
fn eq(&self, other: &AggregateConformancePackCompliance) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &AggregateConformancePackCompliance) -> bool
fn ne(&self, other: &AggregateConformancePackCompliance) -> bool
This method tests for !=.
impl StructuralPartialEq for AggregateConformancePackCompliance
Auto Trait Implementations
impl RefUnwindSafe for AggregateConformancePackCompliance
impl Send for AggregateConformancePackCompliance
impl Sync for AggregateConformancePackCompliance
impl Unpin for AggregateConformancePackCompliance
impl UnwindSafe for AggregateConformancePackCompliance
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more