Struct aws_sdk_apigatewayv2::types::Deployment
source · #[non_exhaustive]pub struct Deployment {
pub auto_deployed: Option<bool>,
pub created_date: Option<DateTime>,
pub deployment_id: Option<String>,
pub deployment_status: Option<DeploymentStatus>,
pub deployment_status_message: Option<String>,
pub description: Option<String>,
}
Expand description
An immutable representation of an API that can be called by users. A Deployment must be associated with a Stage for it to be callable over the internet.
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.auto_deployed: Option<bool>
Specifies whether a deployment was automatically released.
created_date: Option<DateTime>
The date and time when the Deployment resource was created.
deployment_id: Option<String>
The identifier for the deployment.
deployment_status: Option<DeploymentStatus>
The status of the deployment: PENDING, FAILED, or SUCCEEDED.
deployment_status_message: Option<String>
May contain additional feedback on the status of an API deployment.
description: Option<String>
The description for the deployment.
Implementations§
source§impl Deployment
impl Deployment
sourcepub fn auto_deployed(&self) -> Option<bool>
pub fn auto_deployed(&self) -> Option<bool>
Specifies whether a deployment was automatically released.
sourcepub fn created_date(&self) -> Option<&DateTime>
pub fn created_date(&self) -> Option<&DateTime>
The date and time when the Deployment resource was created.
sourcepub fn deployment_id(&self) -> Option<&str>
pub fn deployment_id(&self) -> Option<&str>
The identifier for the deployment.
sourcepub fn deployment_status(&self) -> Option<&DeploymentStatus>
pub fn deployment_status(&self) -> Option<&DeploymentStatus>
The status of the deployment: PENDING, FAILED, or SUCCEEDED.
sourcepub fn deployment_status_message(&self) -> Option<&str>
pub fn deployment_status_message(&self) -> Option<&str>
May contain additional feedback on the status of an API deployment.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description for the deployment.
source§impl Deployment
impl Deployment
sourcepub fn builder() -> DeploymentBuilder
pub fn builder() -> DeploymentBuilder
Creates a new builder-style object to manufacture Deployment
.
Trait Implementations§
source§impl Clone for Deployment
impl Clone for Deployment
source§fn clone(&self) -> Deployment
fn clone(&self) -> Deployment
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Deployment
impl Debug for Deployment
source§impl PartialEq for Deployment
impl PartialEq for Deployment
source§fn eq(&self, other: &Deployment) -> bool
fn eq(&self, other: &Deployment) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Deployment
Auto Trait Implementations§
impl Freeze for Deployment
impl RefUnwindSafe for Deployment
impl Send for Deployment
impl Sync for Deployment
impl Unpin for Deployment
impl UnwindSafe for Deployment
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