Struct aws_sdk_ec2::types::CoipPool
source · #[non_exhaustive]pub struct CoipPool {
pub pool_id: Option<String>,
pub pool_cidrs: Option<Vec<String>>,
pub local_gateway_route_table_id: Option<String>,
pub tags: Option<Vec<Tag>>,
pub pool_arn: Option<String>,
}
Expand description
Describes a customer-owned address pool.
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.pool_id: Option<String>
The ID of the address pool.
pool_cidrs: Option<Vec<String>>
The address ranges of the address pool.
local_gateway_route_table_id: Option<String>
The ID of the local gateway route table.
The tags.
pool_arn: Option<String>
The ARN of the address pool.
Implementations§
source§impl CoipPool
impl CoipPool
sourcepub fn pool_cidrs(&self) -> &[String]
pub fn pool_cidrs(&self) -> &[String]
The address ranges of the address pool.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .pool_cidrs.is_none()
.
sourcepub fn local_gateway_route_table_id(&self) -> Option<&str>
pub fn local_gateway_route_table_id(&self) -> Option<&str>
The ID of the local gateway route table.
The tags.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
Trait Implementations§
source§impl PartialEq for CoipPool
impl PartialEq for CoipPool
impl StructuralPartialEq for CoipPool
Auto Trait Implementations§
impl Freeze for CoipPool
impl RefUnwindSafe for CoipPool
impl Send for CoipPool
impl Sync for CoipPool
impl Unpin for CoipPool
impl UnwindSafe for CoipPool
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.