Struct aws_sdk_iot::model::DetectMitigationActionExecution
source · [−]#[non_exhaustive]pub struct DetectMitigationActionExecution {
pub task_id: Option<String>,
pub violation_id: Option<String>,
pub action_name: Option<String>,
pub thing_name: Option<String>,
pub execution_start_date: Option<DateTime>,
pub execution_end_date: Option<DateTime>,
pub status: Option<DetectMitigationActionExecutionStatus>,
pub error_code: Option<String>,
pub message: Option<String>,
}
Expand description
Describes which mitigation actions should be executed.
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.task_id: Option<String>
The unique identifier of the task.
violation_id: Option<String>
The unique identifier of the violation.
action_name: Option<String>
The friendly name that uniquely identifies the mitigation action.
thing_name: Option<String>
The name of the thing.
execution_start_date: Option<DateTime>
The date a mitigation action was started.
execution_end_date: Option<DateTime>
The date a mitigation action ended.
status: Option<DetectMitigationActionExecutionStatus>
The status of a mitigation action.
error_code: Option<String>
The error code of a mitigation action.
message: Option<String>
The message of a mitigation action.
Implementations
sourceimpl DetectMitigationActionExecution
impl DetectMitigationActionExecution
sourcepub fn violation_id(&self) -> Option<&str>
pub fn violation_id(&self) -> Option<&str>
The unique identifier of the violation.
sourcepub fn action_name(&self) -> Option<&str>
pub fn action_name(&self) -> Option<&str>
The friendly name that uniquely identifies the mitigation action.
sourcepub fn thing_name(&self) -> Option<&str>
pub fn thing_name(&self) -> Option<&str>
The name of the thing.
sourcepub fn execution_start_date(&self) -> Option<&DateTime>
pub fn execution_start_date(&self) -> Option<&DateTime>
The date a mitigation action was started.
sourcepub fn execution_end_date(&self) -> Option<&DateTime>
pub fn execution_end_date(&self) -> Option<&DateTime>
The date a mitigation action ended.
sourcepub fn status(&self) -> Option<&DetectMitigationActionExecutionStatus>
pub fn status(&self) -> Option<&DetectMitigationActionExecutionStatus>
The status of a mitigation action.
sourcepub fn error_code(&self) -> Option<&str>
pub fn error_code(&self) -> Option<&str>
The error code of a mitigation action.
sourceimpl DetectMitigationActionExecution
impl DetectMitigationActionExecution
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DetectMitigationActionExecution
Trait Implementations
sourceimpl Clone for DetectMitigationActionExecution
impl Clone for DetectMitigationActionExecution
sourcefn clone(&self) -> DetectMitigationActionExecution
fn clone(&self) -> DetectMitigationActionExecution
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl PartialEq<DetectMitigationActionExecution> for DetectMitigationActionExecution
impl PartialEq<DetectMitigationActionExecution> for DetectMitigationActionExecution
sourcefn eq(&self, other: &DetectMitigationActionExecution) -> bool
fn eq(&self, other: &DetectMitigationActionExecution) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DetectMitigationActionExecution) -> bool
fn ne(&self, other: &DetectMitigationActionExecution) -> bool
This method tests for !=
.
impl StructuralPartialEq for DetectMitigationActionExecution
Auto Trait Implementations
impl RefUnwindSafe for DetectMitigationActionExecution
impl Send for DetectMitigationActionExecution
impl Sync for DetectMitigationActionExecution
impl Unpin for DetectMitigationActionExecution
impl UnwindSafe for DetectMitigationActionExecution
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more