#[non_exhaustive]pub struct TransitGatewayRouteTableAttachment {
pub attachment: Option<Attachment>,
pub peering_id: Option<String>,
pub transit_gateway_route_table_arn: Option<String>,
}Expand description
Describes a transit gateway route table attachment.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.attachment: Option<Attachment>Describes a core network attachment.
peering_id: Option<String>The ID of the peering attachment.
transit_gateway_route_table_arn: Option<String>The ARN of the transit gateway attachment route table. For example, "TransitGatewayRouteTableArn": "arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456".
Implementations§
source§impl TransitGatewayRouteTableAttachment
impl TransitGatewayRouteTableAttachment
sourcepub fn attachment(&self) -> Option<&Attachment>
pub fn attachment(&self) -> Option<&Attachment>
Describes a core network attachment.
sourcepub fn peering_id(&self) -> Option<&str>
pub fn peering_id(&self) -> Option<&str>
The ID of the peering attachment.
sourcepub fn transit_gateway_route_table_arn(&self) -> Option<&str>
pub fn transit_gateway_route_table_arn(&self) -> Option<&str>
The ARN of the transit gateway attachment route table. For example, "TransitGatewayRouteTableArn": "arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456".
source§impl TransitGatewayRouteTableAttachment
impl TransitGatewayRouteTableAttachment
sourcepub fn builder() -> TransitGatewayRouteTableAttachmentBuilder
pub fn builder() -> TransitGatewayRouteTableAttachmentBuilder
Creates a new builder-style object to manufacture TransitGatewayRouteTableAttachment.
Trait Implementations§
source§impl Clone for TransitGatewayRouteTableAttachment
impl Clone for TransitGatewayRouteTableAttachment
source§fn clone(&self) -> TransitGatewayRouteTableAttachment
fn clone(&self) -> TransitGatewayRouteTableAttachment
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl PartialEq for TransitGatewayRouteTableAttachment
impl PartialEq for TransitGatewayRouteTableAttachment
source§fn eq(&self, other: &TransitGatewayRouteTableAttachment) -> bool
fn eq(&self, other: &TransitGatewayRouteTableAttachment) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TransitGatewayRouteTableAttachment
Auto Trait Implementations§
impl RefUnwindSafe for TransitGatewayRouteTableAttachment
impl Send for TransitGatewayRouteTableAttachment
impl Sync for TransitGatewayRouteTableAttachment
impl Unpin for TransitGatewayRouteTableAttachment
impl UnwindSafe for TransitGatewayRouteTableAttachment
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> 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>
Creates a shared type from an unshared type.