Struct aws_sdk_elasticbeanstalk::types::Deployment
source · #[non_exhaustive]pub struct Deployment {
pub version_label: Option<String>,
pub deployment_id: Option<i64>,
pub status: Option<String>,
pub deployment_time: Option<DateTime>,
}
Expand description
Information about an application version deployment.
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.version_label: Option<String>
The version label of the application version in the deployment.
deployment_id: Option<i64>
The ID of the deployment. This number increases by one each time that you deploy source code or change instance configuration settings.
status: Option<String>
The status of the deployment:
-
In Progress
: The deployment is in progress. -
Deployed
: The deployment succeeded. -
Failed
: The deployment failed.
deployment_time: Option<DateTime>
For in-progress deployments, the time that the deployment started.
For completed deployments, the time that the deployment ended.
Implementations§
source§impl Deployment
impl Deployment
sourcepub fn version_label(&self) -> Option<&str>
pub fn version_label(&self) -> Option<&str>
The version label of the application version in the deployment.
sourcepub fn deployment_id(&self) -> Option<i64>
pub fn deployment_id(&self) -> Option<i64>
The ID of the deployment. This number increases by one each time that you deploy source code or change instance configuration settings.
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
The status of the deployment:
-
In Progress
: The deployment is in progress. -
Deployed
: The deployment succeeded. -
Failed
: The deployment failed.
sourcepub fn deployment_time(&self) -> Option<&DateTime>
pub fn deployment_time(&self) -> Option<&DateTime>
For in-progress deployments, the time that the deployment started.
For completed deployments, the time that the deployment ended.
source§impl Deployment
impl Deployment
sourcepub fn builder() -> DeploymentBuilder
pub fn builder() -> DeploymentBuilder
Creates a new builder-style object to manufacture Deployment
.
Trait Implementations§
source§impl Clone for Deployment
impl Clone for Deployment
source§fn clone(&self) -> Deployment
fn clone(&self) -> Deployment
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Deployment
impl Debug for Deployment
source§impl PartialEq for Deployment
impl PartialEq for Deployment
source§fn eq(&self, other: &Deployment) -> bool
fn eq(&self, other: &Deployment) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Deployment
Auto Trait Implementations§
impl Freeze for Deployment
impl RefUnwindSafe for Deployment
impl Send for Deployment
impl Sync for Deployment
impl Unpin for Deployment
impl UnwindSafe for Deployment
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