#[non_exhaustive]pub struct ManagedActionHistoryItem {
pub action_id: Option<String>,
pub action_type: Option<ActionType>,
pub action_description: Option<String>,
pub failure_type: Option<FailureType>,
pub status: Option<ActionHistoryStatus>,
pub failure_description: Option<String>,
pub executed_time: Option<DateTime>,
pub finished_time: Option<DateTime>,
}
Expand description
The record of a completed or failed managed action.
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_id: Option<String>
A unique identifier for the managed action.
action_type: Option<ActionType>
The type of the managed action.
action_description: Option<String>
A description of the managed action.
failure_type: Option<FailureType>
If the action failed, the type of failure.
status: Option<ActionHistoryStatus>
The status of the action.
failure_description: Option<String>
If the action failed, a description of the failure.
executed_time: Option<DateTime>
The date and time that the action started executing.
finished_time: Option<DateTime>
The date and time that the action finished executing.
Implementations§
source§impl ManagedActionHistoryItem
impl ManagedActionHistoryItem
sourcepub fn action_type(&self) -> Option<&ActionType>
pub fn action_type(&self) -> Option<&ActionType>
The type of the managed action.
sourcepub fn action_description(&self) -> Option<&str>
pub fn action_description(&self) -> Option<&str>
A description of the managed action.
sourcepub fn failure_type(&self) -> Option<&FailureType>
pub fn failure_type(&self) -> Option<&FailureType>
If the action failed, the type of failure.
sourcepub fn status(&self) -> Option<&ActionHistoryStatus>
pub fn status(&self) -> Option<&ActionHistoryStatus>
The status of the action.
sourcepub fn failure_description(&self) -> Option<&str>
pub fn failure_description(&self) -> Option<&str>
If the action failed, a description of the failure.
sourcepub fn executed_time(&self) -> Option<&DateTime>
pub fn executed_time(&self) -> Option<&DateTime>
The date and time that the action started executing.
sourcepub fn finished_time(&self) -> Option<&DateTime>
pub fn finished_time(&self) -> Option<&DateTime>
The date and time that the action finished executing.
source§impl ManagedActionHistoryItem
impl ManagedActionHistoryItem
sourcepub fn builder() -> ManagedActionHistoryItemBuilder
pub fn builder() -> ManagedActionHistoryItemBuilder
Creates a new builder-style object to manufacture ManagedActionHistoryItem
.
Trait Implementations§
source§impl Clone for ManagedActionHistoryItem
impl Clone for ManagedActionHistoryItem
source§fn clone(&self) -> ManagedActionHistoryItem
fn clone(&self) -> ManagedActionHistoryItem
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 ManagedActionHistoryItem
impl Debug for ManagedActionHistoryItem
source§impl PartialEq<ManagedActionHistoryItem> for ManagedActionHistoryItem
impl PartialEq<ManagedActionHistoryItem> for ManagedActionHistoryItem
source§fn eq(&self, other: &ManagedActionHistoryItem) -> bool
fn eq(&self, other: &ManagedActionHistoryItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ManagedActionHistoryItem
Auto Trait Implementations§
impl RefUnwindSafe for ManagedActionHistoryItem
impl Send for ManagedActionHistoryItem
impl Sync for ManagedActionHistoryItem
impl Unpin for ManagedActionHistoryItem
impl UnwindSafe for ManagedActionHistoryItem
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