Struct aws_sdk_route53domains::types::Nameserver
source · #[non_exhaustive]pub struct Nameserver {
pub name: String,
pub glue_ips: Option<Vec<String>>,
}
Expand description
Name server includes the following elements.
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.name: String
The fully qualified host name of the name server.
Constraint: Maximum 255 characters
glue_ips: Option<Vec<String>>
Glue IP address of a name server entry. Glue IP addresses are required only when the name of the name server is a subdomain of the domain. For example, if your domain is example.com and the name server for the domain is ns.example.com, you need to specify the IP address for ns.example.com.
Constraints: The list can contain only one IPv4 and one IPv6 address.
Implementations§
source§impl Nameserver
impl Nameserver
sourcepub fn name(&self) -> &str
pub fn name(&self) -> &str
The fully qualified host name of the name server.
Constraint: Maximum 255 characters
sourcepub fn glue_ips(&self) -> &[String]
pub fn glue_ips(&self) -> &[String]
Glue IP address of a name server entry. Glue IP addresses are required only when the name of the name server is a subdomain of the domain. For example, if your domain is example.com and the name server for the domain is ns.example.com, you need to specify the IP address for ns.example.com.
Constraints: The list can contain only one IPv4 and one IPv6 address.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .glue_ips.is_none()
.
source§impl Nameserver
impl Nameserver
sourcepub fn builder() -> NameserverBuilder
pub fn builder() -> NameserverBuilder
Creates a new builder-style object to manufacture Nameserver
.
Trait Implementations§
source§impl Clone for Nameserver
impl Clone for Nameserver
source§fn clone(&self) -> Nameserver
fn clone(&self) -> Nameserver
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Nameserver
impl Debug for Nameserver
source§impl PartialEq for Nameserver
impl PartialEq for Nameserver
source§fn eq(&self, other: &Nameserver) -> bool
fn eq(&self, other: &Nameserver) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Nameserver
Auto Trait Implementations§
impl Freeze for Nameserver
impl RefUnwindSafe for Nameserver
impl Send for Nameserver
impl Sync for Nameserver
impl Unpin for Nameserver
impl UnwindSafe for Nameserver
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