#[non_exhaustive]pub struct CreateApplicationInput {
pub application_name: Option<String>,
pub compute_platform: Option<ComputePlatform>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Represents the input of a CreateApplication
operation.
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.application_name: Option<String>
The name of the application. This name must be unique with the applicable user or Amazon Web Services account.
compute_platform: Option<ComputePlatform>
The destination platform type for the deployment (Lambda
, Server
, or ECS
).
The metadata that you apply to CodeDeploy applications to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define.
Implementations§
source§impl CreateApplicationInput
impl CreateApplicationInput
sourcepub fn application_name(&self) -> Option<&str>
pub fn application_name(&self) -> Option<&str>
The name of the application. This name must be unique with the applicable user or Amazon Web Services account.
sourcepub fn compute_platform(&self) -> Option<&ComputePlatform>
pub fn compute_platform(&self) -> Option<&ComputePlatform>
The destination platform type for the deployment (Lambda
, Server
, or ECS
).
The metadata that you apply to CodeDeploy applications to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl CreateApplicationInput
impl CreateApplicationInput
sourcepub fn builder() -> CreateApplicationInputBuilder
pub fn builder() -> CreateApplicationInputBuilder
Creates a new builder-style object to manufacture CreateApplicationInput
.
Trait Implementations§
source§impl Clone for CreateApplicationInput
impl Clone for CreateApplicationInput
source§fn clone(&self) -> CreateApplicationInput
fn clone(&self) -> CreateApplicationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateApplicationInput
impl Debug for CreateApplicationInput
source§impl PartialEq for CreateApplicationInput
impl PartialEq for CreateApplicationInput
source§fn eq(&self, other: &CreateApplicationInput) -> bool
fn eq(&self, other: &CreateApplicationInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateApplicationInput
Auto Trait Implementations§
impl Freeze for CreateApplicationInput
impl RefUnwindSafe for CreateApplicationInput
impl Send for CreateApplicationInput
impl Sync for CreateApplicationInput
impl Unpin for CreateApplicationInput
impl UnwindSafe for CreateApplicationInput
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