Struct aws_sdk_ec2::model::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 resource or IPAM pool.
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
sourceimpl 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.
sourceimpl IpamPoolAllocation
impl IpamPoolAllocation
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture IpamPoolAllocation
.
Trait Implementations
sourceimpl Clone for IpamPoolAllocation
impl Clone for IpamPoolAllocation
sourcefn clone(&self) -> IpamPoolAllocation
fn clone(&self) -> IpamPoolAllocation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for IpamPoolAllocation
impl Debug for IpamPoolAllocation
sourceimpl PartialEq<IpamPoolAllocation> for IpamPoolAllocation
impl PartialEq<IpamPoolAllocation> for IpamPoolAllocation
sourcefn eq(&self, other: &IpamPoolAllocation) -> bool
fn eq(&self, other: &IpamPoolAllocation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &IpamPoolAllocation) -> bool
fn ne(&self, other: &IpamPoolAllocation) -> bool
This method tests for !=
.
impl StructuralPartialEq for IpamPoolAllocation
Auto Trait Implementations
impl RefUnwindSafe for IpamPoolAllocation
impl Send for IpamPoolAllocation
impl Sync for IpamPoolAllocation
impl Unpin for IpamPoolAllocation
impl UnwindSafe for IpamPoolAllocation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more