Struct aws_sdk_deadline::types::IpAddresses
source · #[non_exhaustive]pub struct IpAddresses {
pub ipv4_addresses: Option<Vec<String>>,
pub ipv6_addresses: Option<Vec<String>>,
}Expand description
The IP addresses for a host.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.ipv4_addresses: Option<Vec<String>>The IpV4 address of the network.
ipv6_addresses: Option<Vec<String>>The IpV6 address for the network and node component.
Implementations§
source§impl IpAddresses
impl IpAddresses
sourcepub fn ipv4_addresses(&self) -> &[String]
pub fn ipv4_addresses(&self) -> &[String]
The IpV4 address of the network.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .ipv4_addresses.is_none().
sourcepub fn ipv6_addresses(&self) -> &[String]
pub fn ipv6_addresses(&self) -> &[String]
The IpV6 address for the network and node component.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .ipv6_addresses.is_none().
source§impl IpAddresses
impl IpAddresses
sourcepub fn builder() -> IpAddressesBuilder
pub fn builder() -> IpAddressesBuilder
Creates a new builder-style object to manufacture IpAddresses.
Trait Implementations§
source§impl Clone for IpAddresses
impl Clone for IpAddresses
source§fn clone(&self) -> IpAddresses
fn clone(&self) -> IpAddresses
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for IpAddresses
impl Debug for IpAddresses
source§impl PartialEq for IpAddresses
impl PartialEq for IpAddresses
source§fn eq(&self, other: &IpAddresses) -> bool
fn eq(&self, other: &IpAddresses) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for IpAddresses
Auto Trait Implementations§
impl Freeze for IpAddresses
impl RefUnwindSafe for IpAddresses
impl Send for IpAddresses
impl Sync for IpAddresses
impl Unpin for IpAddresses
impl UnwindSafe for IpAddresses
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.