#[non_exhaustive]pub struct StopDeploymentOutput {
pub status: Option<StopStatus>,
pub status_message: Option<String>,
/* private fields */
}
Expand description
Represents the output of a StopDeployment
operation.
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.status: Option<StopStatus>
The status of the stop deployment operation:
-
Pending: The stop operation is pending.
-
Succeeded: The stop operation was successful.
status_message: Option<String>
An accompanying status message.
Implementations§
source§impl StopDeploymentOutput
impl StopDeploymentOutput
sourcepub fn status(&self) -> Option<&StopStatus>
pub fn status(&self) -> Option<&StopStatus>
The status of the stop deployment operation:
-
Pending: The stop operation is pending.
-
Succeeded: The stop operation was successful.
sourcepub fn status_message(&self) -> Option<&str>
pub fn status_message(&self) -> Option<&str>
An accompanying status message.
source§impl StopDeploymentOutput
impl StopDeploymentOutput
sourcepub fn builder() -> StopDeploymentOutputBuilder
pub fn builder() -> StopDeploymentOutputBuilder
Creates a new builder-style object to manufacture StopDeploymentOutput
.
Trait Implementations§
source§impl Clone for StopDeploymentOutput
impl Clone for StopDeploymentOutput
source§fn clone(&self) -> StopDeploymentOutput
fn clone(&self) -> StopDeploymentOutput
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 StopDeploymentOutput
impl Debug for StopDeploymentOutput
source§impl PartialEq for StopDeploymentOutput
impl PartialEq for StopDeploymentOutput
source§fn eq(&self, other: &StopDeploymentOutput) -> bool
fn eq(&self, other: &StopDeploymentOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for StopDeploymentOutput
impl RequestId for StopDeploymentOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for StopDeploymentOutput
Auto Trait Implementations§
impl RefUnwindSafe for StopDeploymentOutput
impl Send for StopDeploymentOutput
impl Sync for StopDeploymentOutput
impl Unpin for StopDeploymentOutput
impl UnwindSafe for StopDeploymentOutput
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.