Struct aws_sdk_launchwizard::types::DeploymentData
source · #[non_exhaustive]pub struct DeploymentData {
pub name: Option<String>,
pub id: Option<String>,
pub workload_name: Option<String>,
pub pattern_name: Option<String>,
pub status: Option<DeploymentStatus>,
pub created_at: Option<DateTime>,
pub specifications: Option<HashMap<String, String>>,
pub resource_group: Option<String>,
pub deleted_at: Option<DateTime>,
}
Expand description
The data associated with a 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.name: Option<String>
The name of the deployment.
id: Option<String>
The ID of the deployment.
workload_name: Option<String>
The name of the workload.
pattern_name: Option<String>
The pattern name of the deployment.
status: Option<DeploymentStatus>
The status of the deployment.
created_at: Option<DateTime>
The time the deployment was created.
specifications: Option<HashMap<String, String>>
The specifications of the deployment. For more information on specifications for each deployment, see Workload specifications.
resource_group: Option<String>
The resource group of the deployment.
deleted_at: Option<DateTime>
The time the deployment was deleted.
Implementations§
source§impl DeploymentData
impl DeploymentData
sourcepub fn workload_name(&self) -> Option<&str>
pub fn workload_name(&self) -> Option<&str>
The name of the workload.
sourcepub fn pattern_name(&self) -> Option<&str>
pub fn pattern_name(&self) -> Option<&str>
The pattern name of the deployment.
sourcepub fn status(&self) -> Option<&DeploymentStatus>
pub fn status(&self) -> Option<&DeploymentStatus>
The status of the deployment.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The time the deployment was created.
sourcepub fn specifications(&self) -> Option<&HashMap<String, String>>
pub fn specifications(&self) -> Option<&HashMap<String, String>>
The specifications of the deployment. For more information on specifications for each deployment, see Workload specifications.
sourcepub fn resource_group(&self) -> Option<&str>
pub fn resource_group(&self) -> Option<&str>
The resource group of the deployment.
sourcepub fn deleted_at(&self) -> Option<&DateTime>
pub fn deleted_at(&self) -> Option<&DateTime>
The time the deployment was deleted.
source§impl DeploymentData
impl DeploymentData
sourcepub fn builder() -> DeploymentDataBuilder
pub fn builder() -> DeploymentDataBuilder
Creates a new builder-style object to manufacture DeploymentData
.
Trait Implementations§
source§impl Clone for DeploymentData
impl Clone for DeploymentData
source§fn clone(&self) -> DeploymentData
fn clone(&self) -> DeploymentData
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeploymentData
impl Debug for DeploymentData
source§impl PartialEq for DeploymentData
impl PartialEq for DeploymentData
source§fn eq(&self, other: &DeploymentData) -> bool
fn eq(&self, other: &DeploymentData) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeploymentData
Auto Trait Implementations§
impl Freeze for DeploymentData
impl RefUnwindSafe for DeploymentData
impl Send for DeploymentData
impl Sync for DeploymentData
impl Unpin for DeploymentData
impl UnwindSafe for DeploymentData
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