Struct aws_sdk_ec2::model::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
sourceimpl 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.
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.
sourceimpl VpcPeeringConnection
impl VpcPeeringConnection
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture VpcPeeringConnection
.
Trait Implementations
sourceimpl Clone for VpcPeeringConnection
impl Clone for VpcPeeringConnection
sourcefn clone(&self) -> VpcPeeringConnection
fn clone(&self) -> VpcPeeringConnection
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for VpcPeeringConnection
impl Debug for VpcPeeringConnection
sourceimpl PartialEq<VpcPeeringConnection> for VpcPeeringConnection
impl PartialEq<VpcPeeringConnection> for VpcPeeringConnection
sourcefn eq(&self, other: &VpcPeeringConnection) -> bool
fn eq(&self, other: &VpcPeeringConnection) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &VpcPeeringConnection) -> bool
fn ne(&self, other: &VpcPeeringConnection) -> bool
This method tests for !=
.
impl StructuralPartialEq for VpcPeeringConnection
Auto Trait Implementations
impl RefUnwindSafe for VpcPeeringConnection
impl Send for VpcPeeringConnection
impl Sync for VpcPeeringConnection
impl Unpin for VpcPeeringConnection
impl UnwindSafe for VpcPeeringConnection
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more