Struct aws_sdk_ec2::types::NetworkInterfaceIpv6Address
source · #[non_exhaustive]pub struct NetworkInterfaceIpv6Address {
pub ipv6_address: Option<String>,
pub is_primary_ipv6: Option<bool>,
}
Expand description
Describes an IPv6 address associated with a network interface.
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 ModifyNetworkInterfaceAttribute.
Implementations§
source§impl NetworkInterfaceIpv6Address
impl NetworkInterfaceIpv6Address
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 ModifyNetworkInterfaceAttribute.
source§impl NetworkInterfaceIpv6Address
impl NetworkInterfaceIpv6Address
sourcepub fn builder() -> NetworkInterfaceIpv6AddressBuilder
pub fn builder() -> NetworkInterfaceIpv6AddressBuilder
Creates a new builder-style object to manufacture NetworkInterfaceIpv6Address
.
Trait Implementations§
source§impl Clone for NetworkInterfaceIpv6Address
impl Clone for NetworkInterfaceIpv6Address
source§fn clone(&self) -> NetworkInterfaceIpv6Address
fn clone(&self) -> NetworkInterfaceIpv6Address
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NetworkInterfaceIpv6Address
impl Debug for NetworkInterfaceIpv6Address
source§impl PartialEq for NetworkInterfaceIpv6Address
impl PartialEq for NetworkInterfaceIpv6Address
source§fn eq(&self, other: &NetworkInterfaceIpv6Address) -> bool
fn eq(&self, other: &NetworkInterfaceIpv6Address) -> bool
self
and other
values to be equal, and is used
by ==
.