Struct aws_sdk_ec2::types::InstanceIpv6Address
source · #[non_exhaustive]pub struct InstanceIpv6Address {
pub ipv6_address: Option<String>,
pub is_primary_ipv6: Option<bool>,
}
Expand description
Describes an IPv6 address.
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.ipv6_address: Option<String>
The IPv6 address.
is_primary_ipv6: Option<bool>
Determines if an IPv6 address associated with a network interface is the primary IPv6 address. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information, see RunInstances.
Implementations§
source§impl InstanceIpv6Address
impl InstanceIpv6Address
sourcepub fn ipv6_address(&self) -> Option<&str>
pub fn ipv6_address(&self) -> Option<&str>
The IPv6 address.
sourcepub fn is_primary_ipv6(&self) -> Option<bool>
pub fn is_primary_ipv6(&self) -> Option<bool>
Determines if an IPv6 address associated with a network interface is the primary IPv6 address. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information, see RunInstances.
source§impl InstanceIpv6Address
impl InstanceIpv6Address
sourcepub fn builder() -> InstanceIpv6AddressBuilder
pub fn builder() -> InstanceIpv6AddressBuilder
Creates a new builder-style object to manufacture InstanceIpv6Address
.
Trait Implementations§
source§impl Clone for InstanceIpv6Address
impl Clone for InstanceIpv6Address
source§fn clone(&self) -> InstanceIpv6Address
fn clone(&self) -> InstanceIpv6Address
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InstanceIpv6Address
impl Debug for InstanceIpv6Address
source§impl PartialEq for InstanceIpv6Address
impl PartialEq for InstanceIpv6Address
source§fn eq(&self, other: &InstanceIpv6Address) -> bool
fn eq(&self, other: &InstanceIpv6Address) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InstanceIpv6Address
Auto Trait Implementations§
impl Freeze for InstanceIpv6Address
impl RefUnwindSafe for InstanceIpv6Address
impl Send for InstanceIpv6Address
impl Sync for InstanceIpv6Address
impl Unpin for InstanceIpv6Address
impl UnwindSafe for InstanceIpv6Address
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