#[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
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
sourceimpl 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.
sourceimpl ManagedActionHistoryItem
impl ManagedActionHistoryItem
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ManagedActionHistoryItem
Trait Implementations
sourceimpl Clone for ManagedActionHistoryItem
impl Clone for ManagedActionHistoryItem
sourcefn clone(&self) -> ManagedActionHistoryItem
fn clone(&self) -> ManagedActionHistoryItem
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 Debug for ManagedActionHistoryItem
impl Debug for ManagedActionHistoryItem
sourceimpl PartialEq<ManagedActionHistoryItem> for ManagedActionHistoryItem
impl PartialEq<ManagedActionHistoryItem> for ManagedActionHistoryItem
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &ManagedActionHistoryItem) -> bool
fn ne(&self, other: &ManagedActionHistoryItem) -> bool
This method tests for !=
.
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
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> 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