pub struct NonComplianceMessage {
pub message: String,
pub policy_definition_reference_id: Option<String>,
}
Expand description
A message that describes why a resource is non-compliant with the policy. This is shown in ‘deny’ error messages and on resource’s non-compliant compliance results.
Fields§
§message: String
A message that describes why a resource is non-compliant with the policy. This is shown in ‘deny’ error messages and on resource’s non-compliant compliance results.
policy_definition_reference_id: Option<String>
The policy definition reference ID within a policy set definition the message is intended for. This is only applicable if the policy assignment assigns a policy set definition. If this is not provided the message applies to all policies assigned by this policy assignment.
Implementations§
Trait Implementations§
source§impl Clone for NonComplianceMessage
impl Clone for NonComplianceMessage
source§fn clone(&self) -> NonComplianceMessage
fn clone(&self) -> NonComplianceMessage
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 NonComplianceMessage
impl Debug for NonComplianceMessage
source§impl<'de> Deserialize<'de> for NonComplianceMessage
impl<'de> Deserialize<'de> for NonComplianceMessage
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 PartialEq<NonComplianceMessage> for NonComplianceMessage
impl PartialEq<NonComplianceMessage> for NonComplianceMessage
source§fn eq(&self, other: &NonComplianceMessage) -> bool
fn eq(&self, other: &NonComplianceMessage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.