pub struct Vpc {
pub vpc_id: String,
pub cidr_block: String,
pub state: String,
pub dhcp_options_id: String,
pub instance_tenancy: String,
pub is_default: bool,
pub enable_dns_hostnames: bool,
pub enable_dns_support: bool,
pub secondary_cidr_blocks: Vec<(String, String)>,
pub tags: Tags,
pub classic_link_enabled: bool,
}Fields§
§vpc_id: String§cidr_block: String§state: String§dhcp_options_id: String§instance_tenancy: String§is_default: bool§enable_dns_hostnames: bool§enable_dns_support: bool§secondary_cidr_blocks: Vec<(String, String)>§classic_link_enabled: boolEC2-Classic ClassicLink toggle. AWS retired EC2-Classic but still
honours DescribeVpcClassicLink; new VPCs always report false.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Vpc
impl RefUnwindSafe for Vpc
impl Send for Vpc
impl Sync for Vpc
impl Unpin for Vpc
impl UnsafeUnpin for Vpc
impl UnwindSafe for Vpc
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.