Struct aws_sdk_m2::types::DeploymentSummary
source · #[non_exhaustive]pub struct DeploymentSummary {
pub deployment_id: String,
pub application_id: String,
pub environment_id: String,
pub application_version: i32,
pub status: DeploymentLifecycle,
pub creation_time: DateTime,
pub status_reason: Option<String>,
}Expand description
A subset of information about a specific deployment.
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: StringThe unique identifier of the deployment.
application_id: StringThe unique identifier of the application.
environment_id: StringThe unique identifier of the runtime environment.
application_version: i32The version of the application.
status: DeploymentLifecycleThe current status of the deployment.
creation_time: DateTimeThe timestamp when the deployment was created.
status_reason: Option<String>The reason for the reported status.
Implementations§
source§impl DeploymentSummary
impl DeploymentSummary
sourcepub fn deployment_id(&self) -> &str
pub fn deployment_id(&self) -> &str
The unique identifier of the deployment.
sourcepub fn application_id(&self) -> &str
pub fn application_id(&self) -> &str
The unique identifier of the application.
sourcepub fn environment_id(&self) -> &str
pub fn environment_id(&self) -> &str
The unique identifier of the runtime environment.
sourcepub fn application_version(&self) -> i32
pub fn application_version(&self) -> i32
The version of the application.
sourcepub fn status(&self) -> &DeploymentLifecycle
pub fn status(&self) -> &DeploymentLifecycle
The current status of the deployment.
sourcepub fn creation_time(&self) -> &DateTime
pub fn creation_time(&self) -> &DateTime
The timestamp when the deployment was created.
sourcepub fn status_reason(&self) -> Option<&str>
pub fn status_reason(&self) -> Option<&str>
The reason for the reported status.
source§impl DeploymentSummary
impl DeploymentSummary
sourcepub fn builder() -> DeploymentSummaryBuilder
pub fn builder() -> DeploymentSummaryBuilder
Creates a new builder-style object to manufacture DeploymentSummary.
Trait Implementations§
source§impl Clone for DeploymentSummary
impl Clone for DeploymentSummary
source§fn clone(&self) -> DeploymentSummary
fn clone(&self) -> DeploymentSummary
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 DeploymentSummary
impl Debug for DeploymentSummary
source§impl PartialEq for DeploymentSummary
impl PartialEq for DeploymentSummary
source§fn eq(&self, other: &DeploymentSummary) -> bool
fn eq(&self, other: &DeploymentSummary) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DeploymentSummary
Auto Trait Implementations§
impl RefUnwindSafe for DeploymentSummary
impl Send for DeploymentSummary
impl Sync for DeploymentSummary
impl Unpin for DeploymentSummary
impl UnwindSafe for DeploymentSummary
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>
Creates a shared type from an unshared type.