Struct aws_sdk_iot::types::MitigationActionIdentifier
source · #[non_exhaustive]pub struct MitigationActionIdentifier {
pub action_name: Option<String>,
pub action_arn: Option<String>,
pub creation_date: Option<DateTime>,
}
Expand description
Information that identifies a mitigation action. This information is returned by ListMitigationActions.
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.action_name: Option<String>
The friendly name of the mitigation action.
action_arn: Option<String>
The IAM role ARN used to apply this mitigation action.
creation_date: Option<DateTime>
The date when this mitigation action was created.
Implementations§
source§impl MitigationActionIdentifier
impl MitigationActionIdentifier
sourcepub fn action_name(&self) -> Option<&str>
pub fn action_name(&self) -> Option<&str>
The friendly name of the mitigation action.
sourcepub fn action_arn(&self) -> Option<&str>
pub fn action_arn(&self) -> Option<&str>
The IAM role ARN used to apply this mitigation action.
sourcepub fn creation_date(&self) -> Option<&DateTime>
pub fn creation_date(&self) -> Option<&DateTime>
The date when this mitigation action was created.
source§impl MitigationActionIdentifier
impl MitigationActionIdentifier
sourcepub fn builder() -> MitigationActionIdentifierBuilder
pub fn builder() -> MitigationActionIdentifierBuilder
Creates a new builder-style object to manufacture MitigationActionIdentifier
.
Trait Implementations§
source§impl Clone for MitigationActionIdentifier
impl Clone for MitigationActionIdentifier
source§fn clone(&self) -> MitigationActionIdentifier
fn clone(&self) -> MitigationActionIdentifier
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 MitigationActionIdentifier
impl Debug for MitigationActionIdentifier
source§impl PartialEq for MitigationActionIdentifier
impl PartialEq for MitigationActionIdentifier
source§fn eq(&self, other: &MitigationActionIdentifier) -> bool
fn eq(&self, other: &MitigationActionIdentifier) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MitigationActionIdentifier
Auto Trait Implementations§
impl Freeze for MitigationActionIdentifier
impl RefUnwindSafe for MitigationActionIdentifier
impl Send for MitigationActionIdentifier
impl Sync for MitigationActionIdentifier
impl Unpin for MitigationActionIdentifier
impl UnwindSafe for MitigationActionIdentifier
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.