#[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 ==.