Struct aws_sdk_datazone::types::Deployment
source · #[non_exhaustive]pub struct Deployment {
pub deployment_id: Option<String>,
pub deployment_type: Option<DeploymentType>,
pub deployment_status: Option<DeploymentStatus>,
pub failure_reason: Option<EnvironmentError>,
pub messages: Option<Vec<String>>,
pub is_deployment_complete: Option<bool>,
}
Expand description
The details of the last deployment of the environment.
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.deployment_id: Option<String>
The identifier of the last deployment of the environment.
deployment_type: Option<DeploymentType>
The type of the last deployment of the environment.
deployment_status: Option<DeploymentStatus>
The status of the last deployment of the environment.
failure_reason: Option<EnvironmentError>
The failure reason of the last deployment of the environment.
messages: Option<Vec<String>>
The messages of the last deployment of the environment.
is_deployment_complete: Option<bool>
Specifies whether the last deployment of the environment is complete.
Implementations§
source§impl Deployment
impl Deployment
sourcepub fn deployment_id(&self) -> Option<&str>
pub fn deployment_id(&self) -> Option<&str>
The identifier of the last deployment of the environment.
sourcepub fn deployment_type(&self) -> Option<&DeploymentType>
pub fn deployment_type(&self) -> Option<&DeploymentType>
The type of the last deployment of the environment.
sourcepub fn deployment_status(&self) -> Option<&DeploymentStatus>
pub fn deployment_status(&self) -> Option<&DeploymentStatus>
The status of the last deployment of the environment.
sourcepub fn failure_reason(&self) -> Option<&EnvironmentError>
pub fn failure_reason(&self) -> Option<&EnvironmentError>
The failure reason of the last deployment of the environment.
sourcepub fn messages(&self) -> Option<&[String]>
pub fn messages(&self) -> Option<&[String]>
The messages of the last deployment of the environment.
sourcepub fn is_deployment_complete(&self) -> Option<bool>
pub fn is_deployment_complete(&self) -> Option<bool>
Specifies whether the last deployment of the environment is complete.
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 ==
.