Struct aws_sdk_codedeploy::types::DeploymentStyle
source · #[non_exhaustive]pub struct DeploymentStyle {
pub deployment_type: Option<DeploymentType>,
pub deployment_option: Option<DeploymentOption>,
}
Expand description
Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer.
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_type: Option<DeploymentType>
Indicates whether to run an in-place deployment or a blue/green deployment.
deployment_option: Option<DeploymentOption>
Indicates whether to route deployment traffic behind a load balancer.
Implementations§
source§impl DeploymentStyle
impl DeploymentStyle
sourcepub fn deployment_type(&self) -> Option<&DeploymentType>
pub fn deployment_type(&self) -> Option<&DeploymentType>
Indicates whether to run an in-place deployment or a blue/green deployment.
sourcepub fn deployment_option(&self) -> Option<&DeploymentOption>
pub fn deployment_option(&self) -> Option<&DeploymentOption>
Indicates whether to route deployment traffic behind a load balancer.
source§impl DeploymentStyle
impl DeploymentStyle
sourcepub fn builder() -> DeploymentStyleBuilder
pub fn builder() -> DeploymentStyleBuilder
Creates a new builder-style object to manufacture DeploymentStyle
.
Trait Implementations§
source§impl Clone for DeploymentStyle
impl Clone for DeploymentStyle
source§fn clone(&self) -> DeploymentStyle
fn clone(&self) -> DeploymentStyle
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 DeploymentStyle
impl Debug for DeploymentStyle
source§impl PartialEq for DeploymentStyle
impl PartialEq for DeploymentStyle
source§fn eq(&self, other: &DeploymentStyle) -> bool
fn eq(&self, other: &DeploymentStyle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeploymentStyle
Auto Trait Implementations§
impl RefUnwindSafe for DeploymentStyle
impl Send for DeploymentStyle
impl Sync for DeploymentStyle
impl Unpin for DeploymentStyle
impl UnwindSafe for DeploymentStyle
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.