#[non_exhaustive]pub struct ConformancePackRuleCompliance {
pub config_rule_name: Option<String>,
pub compliance_type: Option<ConformancePackComplianceType>,
pub controls: Option<Vec<String>>,
}Expand description
Compliance information of one or more Config rules within a conformance pack. You can filter using Config rule names and compliance types.
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.config_rule_name: Option<String>Name of the Config rule.
compliance_type: Option<ConformancePackComplianceType>Compliance of the Config rule.
controls: Option<Vec<String>>Controls for the conformance pack. A control is a process to prevent or detect problems while meeting objectives. A control can align with a specific compliance regime or map to internal controls defined by an organization.
Implementations§
source§impl ConformancePackRuleCompliance
impl ConformancePackRuleCompliance
sourcepub fn config_rule_name(&self) -> Option<&str>
pub fn config_rule_name(&self) -> Option<&str>
Name of the Config rule.
sourcepub fn compliance_type(&self) -> Option<&ConformancePackComplianceType>
pub fn compliance_type(&self) -> Option<&ConformancePackComplianceType>
Compliance of the Config rule.
sourcepub fn controls(&self) -> &[String]
pub fn controls(&self) -> &[String]
Controls for the conformance pack. A control is a process to prevent or detect problems while meeting objectives. A control can align with a specific compliance regime or map to internal controls defined by an organization.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .controls.is_none().
source§impl ConformancePackRuleCompliance
impl ConformancePackRuleCompliance
sourcepub fn builder() -> ConformancePackRuleComplianceBuilder
pub fn builder() -> ConformancePackRuleComplianceBuilder
Creates a new builder-style object to manufacture ConformancePackRuleCompliance.
Trait Implementations§
source§impl Clone for ConformancePackRuleCompliance
impl Clone for ConformancePackRuleCompliance
source§fn clone(&self) -> ConformancePackRuleCompliance
fn clone(&self) -> ConformancePackRuleCompliance
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for ConformancePackRuleCompliance
impl PartialEq for ConformancePackRuleCompliance
source§fn eq(&self, other: &ConformancePackRuleCompliance) -> bool
fn eq(&self, other: &ConformancePackRuleCompliance) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ConformancePackRuleCompliance
Auto Trait Implementations§
impl Freeze for ConformancePackRuleCompliance
impl RefUnwindSafe for ConformancePackRuleCompliance
impl Send for ConformancePackRuleCompliance
impl Sync for ConformancePackRuleCompliance
impl Unpin for ConformancePackRuleCompliance
impl UnwindSafe for ConformancePackRuleCompliance
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
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>
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