Struct aws_sdk_lightsail::types::NameServersUpdateState
source · #[non_exhaustive]pub struct NameServersUpdateState {
pub code: Option<NameServersUpdateStateCode>,
pub message: Option<String>,
}
Expand description
Describes the state of the name server records update made by Amazon Lightsail to an Amazon Route 53 registered domain.
For more information, see DNS in Amazon Lightsail in the Amazon Lightsail Developer Guide.
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<NameServersUpdateStateCode>
The status code for the name servers update.
Following are the possible values:
-
SUCCEEDED
- The name server records were successfully updated. -
PENDING
- The name server record update is in progress. -
FAILED
- The name server record update failed. -
STARTED
- The automatic name server record update started.
message: Option<String>
The message that describes the reason for the status code.
Implementations§
source§impl NameServersUpdateState
impl NameServersUpdateState
sourcepub fn code(&self) -> Option<&NameServersUpdateStateCode>
pub fn code(&self) -> Option<&NameServersUpdateStateCode>
The status code for the name servers update.
Following are the possible values:
-
SUCCEEDED
- The name server records were successfully updated. -
PENDING
- The name server record update is in progress. -
FAILED
- The name server record update failed. -
STARTED
- The automatic name server record update started.
source§impl NameServersUpdateState
impl NameServersUpdateState
sourcepub fn builder() -> NameServersUpdateStateBuilder
pub fn builder() -> NameServersUpdateStateBuilder
Creates a new builder-style object to manufacture NameServersUpdateState
.
Trait Implementations§
source§impl Clone for NameServersUpdateState
impl Clone for NameServersUpdateState
source§fn clone(&self) -> NameServersUpdateState
fn clone(&self) -> NameServersUpdateState
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NameServersUpdateState
impl Debug for NameServersUpdateState
source§impl PartialEq for NameServersUpdateState
impl PartialEq for NameServersUpdateState
source§fn eq(&self, other: &NameServersUpdateState) -> bool
fn eq(&self, other: &NameServersUpdateState) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NameServersUpdateState
Auto Trait Implementations§
impl Freeze for NameServersUpdateState
impl RefUnwindSafe for NameServersUpdateState
impl Send for NameServersUpdateState
impl Sync for NameServersUpdateState
impl Unpin for NameServersUpdateState
impl UnwindSafe for NameServersUpdateState
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