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) -> &[String]
pub fn messages(&self) -> &[String]
The messages of the last deployment of the environment.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .messages.is_none()
.
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
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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