pub struct StatusReason {
pub description: Option<String>,
pub reason_code: String,
}
Expand description
Provides additional context for the value of Compliance.Status
.
Fields§
§description: Option<String>
The corresponding description for the status reason code.
reason_code: 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 AWS Security Hub User Guide.
Trait Implementations§
Source§impl Clone for StatusReason
impl Clone for StatusReason
Source§fn clone(&self) -> StatusReason
fn clone(&self) -> StatusReason
Returns a duplicate 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 StatusReason
impl Debug for StatusReason
Source§impl Default for StatusReason
impl Default for StatusReason
Source§fn default() -> StatusReason
fn default() -> StatusReason
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StatusReason
impl<'de> Deserialize<'de> for StatusReason
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 for StatusReason
impl PartialEq for StatusReason
Source§impl Serialize for StatusReason
impl Serialize for StatusReason
impl StructuralPartialEq for StatusReason
Auto Trait Implementations§
impl Freeze for StatusReason
impl RefUnwindSafe for StatusReason
impl Send for StatusReason
impl Sync for StatusReason
impl Unpin for StatusReason
impl UnwindSafe for StatusReason
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
Mutably borrows from an owned value. Read more