Struct aws_sdk_ec2::types::SubnetCidrReservation
source · #[non_exhaustive]pub struct SubnetCidrReservation {
pub subnet_cidr_reservation_id: Option<String>,
pub subnet_id: Option<String>,
pub cidr: Option<String>,
pub reservation_type: Option<SubnetCidrReservationType>,
pub owner_id: Option<String>,
pub description: Option<String>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Describes a subnet CIDR reservation.
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.subnet_cidr_reservation_id: Option<String>
The ID of the subnet CIDR reservation.
subnet_id: Option<String>
The ID of the subnet.
cidr: Option<String>
The CIDR that has been reserved.
reservation_type: Option<SubnetCidrReservationType>
The type of reservation.
owner_id: Option<String>
The ID of the account that owns the subnet CIDR reservation.
description: Option<String>
The description assigned to the subnet CIDR reservation.
The tags assigned to the subnet CIDR reservation.
Implementations§
source§impl SubnetCidrReservation
impl SubnetCidrReservation
sourcepub fn subnet_cidr_reservation_id(&self) -> Option<&str>
pub fn subnet_cidr_reservation_id(&self) -> Option<&str>
The ID of the subnet CIDR reservation.
sourcepub fn reservation_type(&self) -> Option<&SubnetCidrReservationType>
pub fn reservation_type(&self) -> Option<&SubnetCidrReservationType>
The type of reservation.
sourcepub fn owner_id(&self) -> Option<&str>
pub fn owner_id(&self) -> Option<&str>
The ID of the account that owns the subnet CIDR reservation.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description assigned to the subnet CIDR reservation.
The tags assigned to the subnet CIDR reservation.
source§impl SubnetCidrReservation
impl SubnetCidrReservation
sourcepub fn builder() -> SubnetCidrReservationBuilder
pub fn builder() -> SubnetCidrReservationBuilder
Creates a new builder-style object to manufacture SubnetCidrReservation
.
Trait Implementations§
source§impl Clone for SubnetCidrReservation
impl Clone for SubnetCidrReservation
source§fn clone(&self) -> SubnetCidrReservation
fn clone(&self) -> SubnetCidrReservation
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SubnetCidrReservation
impl Debug for SubnetCidrReservation
source§impl PartialEq<SubnetCidrReservation> for SubnetCidrReservation
impl PartialEq<SubnetCidrReservation> for SubnetCidrReservation
source§fn eq(&self, other: &SubnetCidrReservation) -> bool
fn eq(&self, other: &SubnetCidrReservation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SubnetCidrReservation
Auto Trait Implementations§
impl RefUnwindSafe for SubnetCidrReservation
impl Send for SubnetCidrReservation
impl Sync for SubnetCidrReservation
impl Unpin for SubnetCidrReservation
impl UnwindSafe for SubnetCidrReservation
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