Struct aws_sdk_auditmanager::types::DelegationMetadata
source · #[non_exhaustive]pub struct DelegationMetadata {
pub id: Option<String>,
pub assessment_name: Option<String>,
pub assessment_id: Option<String>,
pub status: Option<DelegationStatus>,
pub role_arn: Option<String>,
pub creation_time: Option<DateTime>,
pub control_set_name: Option<String>,
}Expand description
The metadata that's associated with the delegation.
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.id: Option<String>The unique identifier for the delegation.
assessment_name: Option<String>The name of the associated assessment.
assessment_id: Option<String>The unique identifier for the assessment.
status: Option<DelegationStatus>The current status of the delegation.
role_arn: Option<String>The Amazon Resource Name (ARN) of the IAM role.
creation_time: Option<DateTime>Specifies when the delegation was created.
control_set_name: Option<String>Specifies the name of the control set that was delegated for review.
Implementations§
source§impl DelegationMetadata
impl DelegationMetadata
sourcepub fn assessment_name(&self) -> Option<&str>
pub fn assessment_name(&self) -> Option<&str>
The name of the associated assessment.
sourcepub fn assessment_id(&self) -> Option<&str>
pub fn assessment_id(&self) -> Option<&str>
The unique identifier for the assessment.
sourcepub fn status(&self) -> Option<&DelegationStatus>
pub fn status(&self) -> Option<&DelegationStatus>
The current status of the delegation.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
Specifies when the delegation was created.
sourcepub fn control_set_name(&self) -> Option<&str>
pub fn control_set_name(&self) -> Option<&str>
Specifies the name of the control set that was delegated for review.
source§impl DelegationMetadata
impl DelegationMetadata
sourcepub fn builder() -> DelegationMetadataBuilder
pub fn builder() -> DelegationMetadataBuilder
Creates a new builder-style object to manufacture DelegationMetadata.
Trait Implementations§
source§impl Clone for DelegationMetadata
impl Clone for DelegationMetadata
source§fn clone(&self) -> DelegationMetadata
fn clone(&self) -> DelegationMetadata
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 DelegationMetadata
impl Debug for DelegationMetadata
source§impl PartialEq for DelegationMetadata
impl PartialEq for DelegationMetadata
source§fn eq(&self, other: &DelegationMetadata) -> bool
fn eq(&self, other: &DelegationMetadata) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DelegationMetadata
Auto Trait Implementations§
impl RefUnwindSafe for DelegationMetadata
impl Send for DelegationMetadata
impl Sync for DelegationMetadata
impl Unpin for DelegationMetadata
impl UnwindSafe for DelegationMetadata
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.