Struct aws_sdk_ec2::model::IpamPoolCidr
source · [−]#[non_exhaustive]pub struct IpamPoolCidr {
pub cidr: Option<String>,
pub state: Option<IpamPoolCidrState>,
pub failure_reason: Option<IpamPoolCidrFailureReason>,
}
Expand description
A CIDR provisioned to an 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 provisioned to the IPAM pool. 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
.
state: Option<IpamPoolCidrState>
The state of the CIDR.
failure_reason: Option<IpamPoolCidrFailureReason>
Details related to why an IPAM pool CIDR failed to be provisioned.
Implementations
sourceimpl IpamPoolCidr
impl IpamPoolCidr
sourcepub fn cidr(&self) -> Option<&str>
pub fn cidr(&self) -> Option<&str>
The CIDR provisioned to the IPAM pool. 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 state(&self) -> Option<&IpamPoolCidrState>
pub fn state(&self) -> Option<&IpamPoolCidrState>
The state of the CIDR.
sourcepub fn failure_reason(&self) -> Option<&IpamPoolCidrFailureReason>
pub fn failure_reason(&self) -> Option<&IpamPoolCidrFailureReason>
Details related to why an IPAM pool CIDR failed to be provisioned.
sourceimpl IpamPoolCidr
impl IpamPoolCidr
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture IpamPoolCidr
.
Trait Implementations
sourceimpl Clone for IpamPoolCidr
impl Clone for IpamPoolCidr
sourcefn clone(&self) -> IpamPoolCidr
fn clone(&self) -> IpamPoolCidr
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 IpamPoolCidr
impl Debug for IpamPoolCidr
sourceimpl PartialEq<IpamPoolCidr> for IpamPoolCidr
impl PartialEq<IpamPoolCidr> for IpamPoolCidr
sourcefn eq(&self, other: &IpamPoolCidr) -> bool
fn eq(&self, other: &IpamPoolCidr) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &IpamPoolCidr) -> bool
fn ne(&self, other: &IpamPoolCidr) -> bool
This method tests for !=
.
impl StructuralPartialEq for IpamPoolCidr
Auto Trait Implementations
impl RefUnwindSafe for IpamPoolCidr
impl Send for IpamPoolCidr
impl Sync for IpamPoolCidr
impl Unpin for IpamPoolCidr
impl UnwindSafe for IpamPoolCidr
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