Struct aws_sdk_ec2::types::VpcPeeringConnection
source · #[non_exhaustive]pub struct VpcPeeringConnection {
pub accepter_vpc_info: Option<VpcPeeringConnectionVpcInfo>,
pub expiration_time: Option<DateTime>,
pub requester_vpc_info: Option<VpcPeeringConnectionVpcInfo>,
pub status: Option<VpcPeeringConnectionStateReason>,
pub tags: Option<Vec<Tag>>,
pub vpc_peering_connection_id: Option<String>,
}
Expand description
Describes a VPC peering connection.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.accepter_vpc_info: Option<VpcPeeringConnectionVpcInfo>
Information about the accepter VPC. CIDR block information is only returned when describing an active VPC peering connection.
expiration_time: Option<DateTime>
The time that an unaccepted VPC peering connection will expire.
requester_vpc_info: Option<VpcPeeringConnectionVpcInfo>
Information about the requester VPC. CIDR block information is only returned when describing an active VPC peering connection.
status: Option<VpcPeeringConnectionStateReason>
The status of the VPC peering connection.
Any tags assigned to the resource.
vpc_peering_connection_id: Option<String>
The ID of the VPC peering connection.
Implementations§
source§impl VpcPeeringConnection
impl VpcPeeringConnection
sourcepub fn accepter_vpc_info(&self) -> Option<&VpcPeeringConnectionVpcInfo>
pub fn accepter_vpc_info(&self) -> Option<&VpcPeeringConnectionVpcInfo>
Information about the accepter VPC. CIDR block information is only returned when describing an active VPC peering connection.
sourcepub fn expiration_time(&self) -> Option<&DateTime>
pub fn expiration_time(&self) -> Option<&DateTime>
The time that an unaccepted VPC peering connection will expire.
sourcepub fn requester_vpc_info(&self) -> Option<&VpcPeeringConnectionVpcInfo>
pub fn requester_vpc_info(&self) -> Option<&VpcPeeringConnectionVpcInfo>
Information about the requester VPC. CIDR block information is only returned when describing an active VPC peering connection.
sourcepub fn status(&self) -> Option<&VpcPeeringConnectionStateReason>
pub fn status(&self) -> Option<&VpcPeeringConnectionStateReason>
The status of the VPC peering connection.
Any tags assigned to the resource.
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()
.
sourcepub fn vpc_peering_connection_id(&self) -> Option<&str>
pub fn vpc_peering_connection_id(&self) -> Option<&str>
The ID of the VPC peering connection.
source§impl VpcPeeringConnection
impl VpcPeeringConnection
sourcepub fn builder() -> VpcPeeringConnectionBuilder
pub fn builder() -> VpcPeeringConnectionBuilder
Creates a new builder-style object to manufacture VpcPeeringConnection
.
Trait Implementations§
source§impl Clone for VpcPeeringConnection
impl Clone for VpcPeeringConnection
source§fn clone(&self) -> VpcPeeringConnection
fn clone(&self) -> VpcPeeringConnection
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VpcPeeringConnection
impl Debug for VpcPeeringConnection
source§impl PartialEq for VpcPeeringConnection
impl PartialEq for VpcPeeringConnection
source§fn eq(&self, other: &VpcPeeringConnection) -> bool
fn eq(&self, other: &VpcPeeringConnection) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VpcPeeringConnection
Auto Trait Implementations§
impl Freeze for VpcPeeringConnection
impl RefUnwindSafe for VpcPeeringConnection
impl Send for VpcPeeringConnection
impl Sync for VpcPeeringConnection
impl Unpin for VpcPeeringConnection
impl UnwindSafe for VpcPeeringConnection
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
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>
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>
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 more