Struct aws_sdk_auditmanager::types::ControlMetadata
source · #[non_exhaustive]pub struct ControlMetadata {
pub arn: Option<String>,
pub id: Option<String>,
pub name: Option<String>,
pub control_sources: Option<String>,
pub created_at: Option<DateTime>,
pub last_updated_at: Option<DateTime>,
}
Expand description
The metadata that's associated with the standard control or custom control.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.arn: Option<String>
The Amazon Resource Name (ARN) of the control.
id: Option<String>
The unique identifier for the control.
name: Option<String>
The name of the control.
control_sources: Option<String>
The data source that determines where Audit Manager collects evidence from for the control.
created_at: Option<DateTime>
The time when the control was created.
last_updated_at: Option<DateTime>
The time when the control was most recently updated.
Implementations§
source§impl ControlMetadata
impl ControlMetadata
sourcepub fn control_sources(&self) -> Option<&str>
pub fn control_sources(&self) -> Option<&str>
The data source that determines where Audit Manager collects evidence from for the control.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The time when the control was created.
sourcepub fn last_updated_at(&self) -> Option<&DateTime>
pub fn last_updated_at(&self) -> Option<&DateTime>
The time when the control was most recently updated.
source§impl ControlMetadata
impl ControlMetadata
sourcepub fn builder() -> ControlMetadataBuilder
pub fn builder() -> ControlMetadataBuilder
Creates a new builder-style object to manufacture ControlMetadata
.
Trait Implementations§
source§impl Clone for ControlMetadata
impl Clone for ControlMetadata
source§fn clone(&self) -> ControlMetadata
fn clone(&self) -> ControlMetadata
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 ControlMetadata
impl Debug for ControlMetadata
source§impl PartialEq for ControlMetadata
impl PartialEq for ControlMetadata
source§fn eq(&self, other: &ControlMetadata) -> bool
fn eq(&self, other: &ControlMetadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ControlMetadata
Auto Trait Implementations§
impl RefUnwindSafe for ControlMetadata
impl Send for ControlMetadata
impl Sync for ControlMetadata
impl Unpin for ControlMetadata
impl UnwindSafe for ControlMetadata
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
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>
Creates a shared type from an unshared type.