Struct aws_sdk_ec2::model::TransitGatewayPeeringAttachment
source · [−]#[non_exhaustive]pub struct TransitGatewayPeeringAttachment {
pub transit_gateway_attachment_id: Option<String>,
pub requester_tgw_info: Option<PeeringTgwInfo>,
pub accepter_tgw_info: Option<PeeringTgwInfo>,
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.
requester_tgw_info: Option<PeeringTgwInfo>
Information about the requester transit gateway.
accepter_tgw_info: Option<PeeringTgwInfo>
Information about the accepter transit gateway.
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
sourceimpl 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 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 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.
sourceimpl TransitGatewayPeeringAttachment
impl TransitGatewayPeeringAttachment
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TransitGatewayPeeringAttachment
.
Trait Implementations
sourceimpl Clone for TransitGatewayPeeringAttachment
impl Clone for TransitGatewayPeeringAttachment
sourcefn clone(&self) -> TransitGatewayPeeringAttachment
fn clone(&self) -> TransitGatewayPeeringAttachment
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 PartialEq<TransitGatewayPeeringAttachment> for TransitGatewayPeeringAttachment
impl PartialEq<TransitGatewayPeeringAttachment> for TransitGatewayPeeringAttachment
sourcefn eq(&self, other: &TransitGatewayPeeringAttachment) -> bool
fn eq(&self, other: &TransitGatewayPeeringAttachment) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TransitGatewayPeeringAttachment) -> bool
fn ne(&self, other: &TransitGatewayPeeringAttachment) -> bool
This method tests for !=
.
impl StructuralPartialEq for TransitGatewayPeeringAttachment
Auto Trait Implementations
impl RefUnwindSafe for TransitGatewayPeeringAttachment
impl Send for TransitGatewayPeeringAttachment
impl Sync for TransitGatewayPeeringAttachment
impl Unpin for TransitGatewayPeeringAttachment
impl UnwindSafe for TransitGatewayPeeringAttachment
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