Struct aws_sdk_ec2::types::IpamPoolAllocation
source · #[non_exhaustive]pub struct IpamPoolAllocation {
pub cidr: Option<String>,
pub ipam_pool_allocation_id: Option<String>,
pub description: Option<String>,
pub resource_id: Option<String>,
pub resource_type: Option<IpamPoolAllocationResourceType>,
pub resource_region: Option<String>,
pub resource_owner: Option<String>,
}
Expand description
In IPAM, an allocation is a CIDR assignment from an IPAM pool to another IPAM pool or to a resource.
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.cidr: Option<String>
The CIDR for the allocation. A CIDR is a representation of an IP address and its associated network mask (or netmask) and refers to a range of IP addresses. An IPv4 CIDR example is 10.24.34.0/23
. An IPv6 CIDR example is 2001:DB8::/32
.
ipam_pool_allocation_id: Option<String>
The ID of an allocation.
description: Option<String>
A description of the pool allocation.
resource_id: Option<String>
The ID of the resource.
resource_type: Option<IpamPoolAllocationResourceType>
The type of the resource.
resource_region: Option<String>
The Amazon Web Services Region of the resource.
resource_owner: Option<String>
The owner of the resource.
Implementations§
source§impl IpamPoolAllocation
impl IpamPoolAllocation
sourcepub fn cidr(&self) -> Option<&str>
pub fn cidr(&self) -> Option<&str>
The CIDR for the allocation. A CIDR is a representation of an IP address and its associated network mask (or netmask) and refers to a range of IP addresses. An IPv4 CIDR example is 10.24.34.0/23
. An IPv6 CIDR example is 2001:DB8::/32
.
sourcepub fn ipam_pool_allocation_id(&self) -> Option<&str>
pub fn ipam_pool_allocation_id(&self) -> Option<&str>
The ID of an allocation.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the pool allocation.
sourcepub fn resource_id(&self) -> Option<&str>
pub fn resource_id(&self) -> Option<&str>
The ID of the resource.
sourcepub fn resource_type(&self) -> Option<&IpamPoolAllocationResourceType>
pub fn resource_type(&self) -> Option<&IpamPoolAllocationResourceType>
The type of the resource.
sourcepub fn resource_region(&self) -> Option<&str>
pub fn resource_region(&self) -> Option<&str>
The Amazon Web Services Region of the resource.
sourcepub fn resource_owner(&self) -> Option<&str>
pub fn resource_owner(&self) -> Option<&str>
The owner of the resource.
source§impl IpamPoolAllocation
impl IpamPoolAllocation
sourcepub fn builder() -> IpamPoolAllocationBuilder
pub fn builder() -> IpamPoolAllocationBuilder
Creates a new builder-style object to manufacture IpamPoolAllocation
.
Trait Implementations§
source§impl Clone for IpamPoolAllocation
impl Clone for IpamPoolAllocation
source§fn clone(&self) -> IpamPoolAllocation
fn clone(&self) -> IpamPoolAllocation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IpamPoolAllocation
impl Debug for IpamPoolAllocation
source§impl PartialEq for IpamPoolAllocation
impl PartialEq for IpamPoolAllocation
source§fn eq(&self, other: &IpamPoolAllocation) -> bool
fn eq(&self, other: &IpamPoolAllocation) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for IpamPoolAllocation
Auto Trait Implementations§
impl Freeze for IpamPoolAllocation
impl RefUnwindSafe for IpamPoolAllocation
impl Send for IpamPoolAllocation
impl Sync for IpamPoolAllocation
impl Unpin for IpamPoolAllocation
impl UnwindSafe for IpamPoolAllocation
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