Struct aws_sdk_codedeploy::types::LastDeploymentInfo
source · #[non_exhaustive]pub struct LastDeploymentInfo {
pub deployment_id: Option<String>,
pub status: Option<DeploymentStatus>,
pub end_time: Option<DateTime>,
pub create_time: Option<DateTime>,
}
Expand description
Information about the most recent attempted or successful deployment to a deployment group.
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.deployment_id: Option<String>
The unique ID of a deployment.
status: Option<DeploymentStatus>
The status of the most recent deployment.
end_time: Option<DateTime>
A timestamp that indicates when the most recent deployment to the deployment group was complete.
create_time: Option<DateTime>
A timestamp that indicates when the most recent deployment to the deployment group started.
Implementations§
source§impl LastDeploymentInfo
impl LastDeploymentInfo
sourcepub fn deployment_id(&self) -> Option<&str>
pub fn deployment_id(&self) -> Option<&str>
The unique ID of a deployment.
sourcepub fn status(&self) -> Option<&DeploymentStatus>
pub fn status(&self) -> Option<&DeploymentStatus>
The status of the most recent deployment.
sourcepub fn end_time(&self) -> Option<&DateTime>
pub fn end_time(&self) -> Option<&DateTime>
A timestamp that indicates when the most recent deployment to the deployment group was complete.
sourcepub fn create_time(&self) -> Option<&DateTime>
pub fn create_time(&self) -> Option<&DateTime>
A timestamp that indicates when the most recent deployment to the deployment group started.
source§impl LastDeploymentInfo
impl LastDeploymentInfo
sourcepub fn builder() -> LastDeploymentInfoBuilder
pub fn builder() -> LastDeploymentInfoBuilder
Creates a new builder-style object to manufacture LastDeploymentInfo
.
Trait Implementations§
source§impl Clone for LastDeploymentInfo
impl Clone for LastDeploymentInfo
source§fn clone(&self) -> LastDeploymentInfo
fn clone(&self) -> LastDeploymentInfo
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 LastDeploymentInfo
impl Debug for LastDeploymentInfo
source§impl PartialEq for LastDeploymentInfo
impl PartialEq for LastDeploymentInfo
source§fn eq(&self, other: &LastDeploymentInfo) -> bool
fn eq(&self, other: &LastDeploymentInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LastDeploymentInfo
Auto Trait Implementations§
impl Freeze for LastDeploymentInfo
impl RefUnwindSafe for LastDeploymentInfo
impl Send for LastDeploymentInfo
impl Sync for LastDeploymentInfo
impl Unpin for LastDeploymentInfo
impl UnwindSafe for LastDeploymentInfo
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> 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.