#[non_exhaustive]pub struct R53HostedZoneDeletionState {
pub code: Option<R53HostedZoneDeletionStateCode>,
pub message: Option<String>,
}
Expand description
Describes the deletion state of an Amazon Route 53 hosted zone for a domain that is being automatically delegated to an Amazon Lightsail DNS zone.
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.code: Option<R53HostedZoneDeletionStateCode>
The status code for the deletion state.
Following are the possible values:
-
SUCCEEDED
- The hosted zone was successfully deleted. -
PENDING
- The hosted zone deletion is in progress. -
FAILED
- The hosted zone deletion failed. -
STARTED
- The hosted zone deletion started.
message: Option<String>
The message that describes the reason for the status code.
Implementations§
source§impl R53HostedZoneDeletionState
impl R53HostedZoneDeletionState
sourcepub fn code(&self) -> Option<&R53HostedZoneDeletionStateCode>
pub fn code(&self) -> Option<&R53HostedZoneDeletionStateCode>
The status code for the deletion state.
Following are the possible values:
-
SUCCEEDED
- The hosted zone was successfully deleted. -
PENDING
- The hosted zone deletion is in progress. -
FAILED
- The hosted zone deletion failed. -
STARTED
- The hosted zone deletion started.
source§impl R53HostedZoneDeletionState
impl R53HostedZoneDeletionState
sourcepub fn builder() -> R53HostedZoneDeletionStateBuilder
pub fn builder() -> R53HostedZoneDeletionStateBuilder
Creates a new builder-style object to manufacture R53HostedZoneDeletionState
.
Trait Implementations§
source§impl Clone for R53HostedZoneDeletionState
impl Clone for R53HostedZoneDeletionState
source§fn clone(&self) -> R53HostedZoneDeletionState
fn clone(&self) -> R53HostedZoneDeletionState
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for R53HostedZoneDeletionState
impl Debug for R53HostedZoneDeletionState
source§impl PartialEq for R53HostedZoneDeletionState
impl PartialEq for R53HostedZoneDeletionState
source§fn eq(&self, other: &R53HostedZoneDeletionState) -> bool
fn eq(&self, other: &R53HostedZoneDeletionState) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for R53HostedZoneDeletionState
Auto Trait Implementations§
impl Freeze for R53HostedZoneDeletionState
impl RefUnwindSafe for R53HostedZoneDeletionState
impl Send for R53HostedZoneDeletionState
impl Sync for R53HostedZoneDeletionState
impl Unpin for R53HostedZoneDeletionState
impl UnwindSafe for R53HostedZoneDeletionState
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