Struct aws_sdk_ec2::types::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§
source§impl 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§
source§impl PartialEq<ByoipCidr> for ByoipCidr
impl PartialEq<ByoipCidr> for ByoipCidr
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§
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
Mutably borrows from an owned value. Read more