Struct aws_sdk_securityhub::model::StatusReason
source · [−]#[non_exhaustive]pub struct StatusReason {
pub reason_code: Option<String>,
pub description: Option<String>,
}
Expand description
Provides additional context for the value of Compliance.Status
.
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.reason_code: Option<String>
A code that represents a reason for the control status. For the list of status reason codes and their meanings, see Standards-related information in the ASFF in the Security Hub User Guide.
description: Option<String>
The corresponding description for the status reason code.
Implementations
A code that represents a reason for the control status. For the list of status reason codes and their meanings, see Standards-related information in the ASFF in the Security Hub User Guide.
The corresponding description for the status reason code.
Creates a new builder-style object to manufacture StatusReason
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for StatusReason
impl Send for StatusReason
impl Sync for StatusReason
impl Unpin for StatusReason
impl UnwindSafe for StatusReason
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more