Struct aws_sdk_codedeploy::types::LifecycleEvent
source · #[non_exhaustive]pub struct LifecycleEvent {
pub lifecycle_event_name: Option<String>,
pub diagnostics: Option<Diagnostics>,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
pub status: Option<LifecycleEventStatus>,
}
Expand description
Information about a deployment lifecycle event.
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.lifecycle_event_name: Option<String>
The deployment lifecycle event name, such as ApplicationStop
, BeforeInstall
, AfterInstall
, ApplicationStart
, or ValidateService
.
diagnostics: Option<Diagnostics>
Diagnostic information about the deployment lifecycle event.
start_time: Option<DateTime>
A timestamp that indicates when the deployment lifecycle event started.
end_time: Option<DateTime>
A timestamp that indicates when the deployment lifecycle event ended.
status: Option<LifecycleEventStatus>
The deployment lifecycle event status:
-
Pending: The deployment lifecycle event is pending.
-
InProgress: The deployment lifecycle event is in progress.
-
Succeeded: The deployment lifecycle event ran successfully.
-
Failed: The deployment lifecycle event has failed.
-
Skipped: The deployment lifecycle event has been skipped.
-
Unknown: The deployment lifecycle event is unknown.
Implementations§
source§impl LifecycleEvent
impl LifecycleEvent
sourcepub fn lifecycle_event_name(&self) -> Option<&str>
pub fn lifecycle_event_name(&self) -> Option<&str>
The deployment lifecycle event name, such as ApplicationStop
, BeforeInstall
, AfterInstall
, ApplicationStart
, or ValidateService
.
sourcepub fn diagnostics(&self) -> Option<&Diagnostics>
pub fn diagnostics(&self) -> Option<&Diagnostics>
Diagnostic information about the deployment lifecycle event.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
A timestamp that indicates when the deployment lifecycle event started.
sourcepub fn end_time(&self) -> Option<&DateTime>
pub fn end_time(&self) -> Option<&DateTime>
A timestamp that indicates when the deployment lifecycle event ended.
sourcepub fn status(&self) -> Option<&LifecycleEventStatus>
pub fn status(&self) -> Option<&LifecycleEventStatus>
The deployment lifecycle event status:
-
Pending: The deployment lifecycle event is pending.
-
InProgress: The deployment lifecycle event is in progress.
-
Succeeded: The deployment lifecycle event ran successfully.
-
Failed: The deployment lifecycle event has failed.
-
Skipped: The deployment lifecycle event has been skipped.
-
Unknown: The deployment lifecycle event is unknown.
source§impl LifecycleEvent
impl LifecycleEvent
sourcepub fn builder() -> LifecycleEventBuilder
pub fn builder() -> LifecycleEventBuilder
Creates a new builder-style object to manufacture LifecycleEvent
.
Trait Implementations§
source§impl Clone for LifecycleEvent
impl Clone for LifecycleEvent
source§fn clone(&self) -> LifecycleEvent
fn clone(&self) -> LifecycleEvent
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LifecycleEvent
impl Debug for LifecycleEvent
source§impl PartialEq for LifecycleEvent
impl PartialEq for LifecycleEvent
source§fn eq(&self, other: &LifecycleEvent) -> bool
fn eq(&self, other: &LifecycleEvent) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LifecycleEvent
Auto Trait Implementations§
impl Freeze for LifecycleEvent
impl RefUnwindSafe for LifecycleEvent
impl Send for LifecycleEvent
impl Sync for LifecycleEvent
impl Unpin for LifecycleEvent
impl UnwindSafe for LifecycleEvent
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
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>
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>
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 more