#[non_exhaustive]pub struct TransitGatewayPeeringAttachment {
pub transit_gateway_attachment_id: Option<String>,
pub accepter_transit_gateway_attachment_id: Option<String>,
pub requester_tgw_info: Option<PeeringTgwInfo>,
pub accepter_tgw_info: Option<PeeringTgwInfo>,
pub options: Option<TransitGatewayPeeringAttachmentOptions>,
pub status: Option<PeeringAttachmentStatus>,
pub state: Option<TransitGatewayAttachmentState>,
pub creation_time: Option<DateTime>,
pub tags: Option<Vec<Tag>>,
}Expand description
Describes the transit gateway peering attachment.
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.transit_gateway_attachment_id: Option<String>The ID of the transit gateway peering attachment.
accepter_transit_gateway_attachment_id: Option<String>The ID of the accepter transit gateway attachment.
requester_tgw_info: Option<PeeringTgwInfo>Information about the requester transit gateway.
accepter_tgw_info: Option<PeeringTgwInfo>Information about the accepter transit gateway.
options: Option<TransitGatewayPeeringAttachmentOptions>Details about the transit gateway peering attachment.
status: Option<PeeringAttachmentStatus>The status of the transit gateway peering attachment.
state: Option<TransitGatewayAttachmentState>The state of the transit gateway peering attachment. Note that the initiating state has been deprecated.
creation_time: Option<DateTime>The time the transit gateway peering attachment was created.
The tags for the transit gateway peering attachment.
Implementations§
source§impl TransitGatewayPeeringAttachment
impl TransitGatewayPeeringAttachment
sourcepub fn transit_gateway_attachment_id(&self) -> Option<&str>
pub fn transit_gateway_attachment_id(&self) -> Option<&str>
The ID of the transit gateway peering attachment.
sourcepub fn accepter_transit_gateway_attachment_id(&self) -> Option<&str>
pub fn accepter_transit_gateway_attachment_id(&self) -> Option<&str>
The ID of the accepter transit gateway attachment.
sourcepub fn requester_tgw_info(&self) -> Option<&PeeringTgwInfo>
pub fn requester_tgw_info(&self) -> Option<&PeeringTgwInfo>
Information about the requester transit gateway.
sourcepub fn accepter_tgw_info(&self) -> Option<&PeeringTgwInfo>
pub fn accepter_tgw_info(&self) -> Option<&PeeringTgwInfo>
Information about the accepter transit gateway.
sourcepub fn options(&self) -> Option<&TransitGatewayPeeringAttachmentOptions>
pub fn options(&self) -> Option<&TransitGatewayPeeringAttachmentOptions>
Details about the transit gateway peering attachment.
sourcepub fn status(&self) -> Option<&PeeringAttachmentStatus>
pub fn status(&self) -> Option<&PeeringAttachmentStatus>
The status of the transit gateway peering attachment.
sourcepub fn state(&self) -> Option<&TransitGatewayAttachmentState>
pub fn state(&self) -> Option<&TransitGatewayAttachmentState>
The state of the transit gateway peering attachment. Note that the initiating state has been deprecated.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time the transit gateway peering attachment was created.
The tags for the transit gateway peering attachment.
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().
source§impl TransitGatewayPeeringAttachment
impl TransitGatewayPeeringAttachment
sourcepub fn builder() -> TransitGatewayPeeringAttachmentBuilder
pub fn builder() -> TransitGatewayPeeringAttachmentBuilder
Creates a new builder-style object to manufacture TransitGatewayPeeringAttachment.
Trait Implementations§
source§impl Clone for TransitGatewayPeeringAttachment
impl Clone for TransitGatewayPeeringAttachment
source§fn clone(&self) -> TransitGatewayPeeringAttachment
fn clone(&self) -> TransitGatewayPeeringAttachment
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for TransitGatewayPeeringAttachment
impl PartialEq for TransitGatewayPeeringAttachment
source§fn eq(&self, other: &TransitGatewayPeeringAttachment) -> bool
fn eq(&self, other: &TransitGatewayPeeringAttachment) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TransitGatewayPeeringAttachment
Auto Trait Implementations§
impl Freeze for TransitGatewayPeeringAttachment
impl RefUnwindSafe for TransitGatewayPeeringAttachment
impl Send for TransitGatewayPeeringAttachment
impl Sync for TransitGatewayPeeringAttachment
impl Unpin for TransitGatewayPeeringAttachment
impl UnwindSafe for TransitGatewayPeeringAttachment
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