Struct aws_sdk_ec2::model::ByoipCidr
source · [−]#[non_exhaustive]pub struct ByoipCidr {
pub cidr: Option<String>,
pub description: Option<String>,
pub status_message: Option<String>,
pub state: Option<ByoipCidrState>,
}
Expand description
Information about an address range that is provisioned for use with your Amazon Web Services resources through bring your own IP addresses (BYOIP).
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.cidr: Option<String>
The address range, in CIDR notation.
description: Option<String>
The description of the address range.
status_message: Option<String>
Upon success, contains the ID of the address pool. Otherwise, contains an error message.
state: Option<ByoipCidrState>
The state of the address pool.
Implementations
sourceimpl ByoipCidr
impl ByoipCidr
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the address range.
sourcepub fn status_message(&self) -> Option<&str>
pub fn status_message(&self) -> Option<&str>
Upon success, contains the ID of the address pool. Otherwise, contains an error message.
sourcepub fn state(&self) -> Option<&ByoipCidrState>
pub fn state(&self) -> Option<&ByoipCidrState>
The state of the address pool.
Trait Implementations
impl StructuralPartialEq for ByoipCidr
Auto Trait Implementations
impl RefUnwindSafe for ByoipCidr
impl Send for ByoipCidr
impl Sync for ByoipCidr
impl Unpin for ByoipCidr
impl UnwindSafe for ByoipCidr
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