#[non_exhaustive]pub struct CreateEnvironmentOutput {
pub application_id: Option<String>,
pub id: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub state: Option<EnvironmentState>,
pub monitors: Option<Vec<Monitor>>,
/* private fields */
}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.application_id: Option<String>The application ID.
id: Option<String>The environment ID.
name: Option<String>The name of the environment.
description: Option<String>The description of the environment.
state: Option<EnvironmentState>The state of the environment. An environment can be in one of the following states: READY_FOR_DEPLOYMENT, DEPLOYING, ROLLING_BACK, or ROLLED_BACK
monitors: Option<Vec<Monitor>>Amazon CloudWatch alarms monitored during the deployment.
Implementations§
source§impl CreateEnvironmentOutput
impl CreateEnvironmentOutput
sourcepub fn application_id(&self) -> Option<&str>
pub fn application_id(&self) -> Option<&str>
The application ID.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the environment.
sourcepub fn state(&self) -> Option<&EnvironmentState>
pub fn state(&self) -> Option<&EnvironmentState>
The state of the environment. An environment can be in one of the following states: READY_FOR_DEPLOYMENT, DEPLOYING, ROLLING_BACK, or ROLLED_BACK
source§impl CreateEnvironmentOutput
impl CreateEnvironmentOutput
sourcepub fn builder() -> CreateEnvironmentOutputBuilder
pub fn builder() -> CreateEnvironmentOutputBuilder
Creates a new builder-style object to manufacture CreateEnvironmentOutput.
Trait Implementations§
source§impl Clone for CreateEnvironmentOutput
impl Clone for CreateEnvironmentOutput
source§fn clone(&self) -> CreateEnvironmentOutput
fn clone(&self) -> CreateEnvironmentOutput
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 CreateEnvironmentOutput
impl Debug for CreateEnvironmentOutput
source§impl PartialEq<CreateEnvironmentOutput> for CreateEnvironmentOutput
impl PartialEq<CreateEnvironmentOutput> for CreateEnvironmentOutput
source§fn eq(&self, other: &CreateEnvironmentOutput) -> bool
fn eq(&self, other: &CreateEnvironmentOutput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl RequestId for CreateEnvironmentOutput
impl RequestId for CreateEnvironmentOutput
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 CreateEnvironmentOutput
Auto Trait Implementations§
impl RefUnwindSafe for CreateEnvironmentOutput
impl Send for CreateEnvironmentOutput
impl Sync for CreateEnvironmentOutput
impl Unpin for CreateEnvironmentOutput
impl UnwindSafe for CreateEnvironmentOutput
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