Struct aws_sdk_ec2::model::PublicIpv4PoolRange
source · #[non_exhaustive]pub struct PublicIpv4PoolRange { /* private fields */ }
Expand description
Describes an address range of an IPv4 address pool.
Implementations§
source§impl PublicIpv4PoolRange
impl PublicIpv4PoolRange
sourcepub fn first_address(&self) -> Option<&str>
pub fn first_address(&self) -> Option<&str>
The first IP address in the range.
sourcepub fn last_address(&self) -> Option<&str>
pub fn last_address(&self) -> Option<&str>
The last IP address in the range.
sourcepub fn address_count(&self) -> Option<i32>
pub fn address_count(&self) -> Option<i32>
The number of addresses in the range.
sourcepub fn available_address_count(&self) -> Option<i32>
pub fn available_address_count(&self) -> Option<i32>
The number of available addresses in the range.
source§impl PublicIpv4PoolRange
impl PublicIpv4PoolRange
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PublicIpv4PoolRange
.
Trait Implementations§
source§impl Clone for PublicIpv4PoolRange
impl Clone for PublicIpv4PoolRange
source§fn clone(&self) -> PublicIpv4PoolRange
fn clone(&self) -> PublicIpv4PoolRange
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 PublicIpv4PoolRange
impl Debug for PublicIpv4PoolRange
source§impl PartialEq<PublicIpv4PoolRange> for PublicIpv4PoolRange
impl PartialEq<PublicIpv4PoolRange> for PublicIpv4PoolRange
source§fn eq(&self, other: &PublicIpv4PoolRange) -> bool
fn eq(&self, other: &PublicIpv4PoolRange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.