#[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 for ManagedActionHistoryItem
impl PartialEq for ManagedActionHistoryItem
impl StructuralPartialEq for ManagedActionHistoryItem
Auto Trait Implementations§
impl Freeze for ManagedActionHistoryItem
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.