Struct aws_sdk_ec2::types::RouteTable
source · #[non_exhaustive]pub struct RouteTable {
pub associations: Option<Vec<RouteTableAssociation>>,
pub propagating_vgws: Option<Vec<PropagatingVgw>>,
pub route_table_id: Option<String>,
pub routes: Option<Vec<Route>>,
pub tags: Option<Vec<Tag>>,
pub vpc_id: Option<String>,
pub owner_id: Option<String>,
}
Expand description
Describes a route table.
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.associations: Option<Vec<RouteTableAssociation>>
The associations between the route table and one or more subnets or a gateway.
propagating_vgws: Option<Vec<PropagatingVgw>>
Any virtual private gateway (VGW) propagating routes.
route_table_id: Option<String>
The ID of the route table.
routes: Option<Vec<Route>>
The routes in the route table.
Any tags assigned to the route table.
vpc_id: Option<String>
The ID of the VPC.
owner_id: Option<String>
The ID of the Amazon Web Services account that owns the route table.
Implementations§
source§impl RouteTable
impl RouteTable
sourcepub fn associations(&self) -> &[RouteTableAssociation]
pub fn associations(&self) -> &[RouteTableAssociation]
The associations between the route table and one or more subnets or a gateway.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .associations.is_none()
.
sourcepub fn propagating_vgws(&self) -> &[PropagatingVgw]
pub fn propagating_vgws(&self) -> &[PropagatingVgw]
Any virtual private gateway (VGW) propagating routes.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .propagating_vgws.is_none()
.
sourcepub fn route_table_id(&self) -> Option<&str>
pub fn route_table_id(&self) -> Option<&str>
The ID of the route table.
sourcepub fn routes(&self) -> &[Route]
pub fn routes(&self) -> &[Route]
The routes in the route table.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .routes.is_none()
.
Any tags assigned to the route table.
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 RouteTable
impl RouteTable
sourcepub fn builder() -> RouteTableBuilder
pub fn builder() -> RouteTableBuilder
Creates a new builder-style object to manufacture RouteTable
.
Trait Implementations§
source§impl Clone for RouteTable
impl Clone for RouteTable
source§fn clone(&self) -> RouteTable
fn clone(&self) -> RouteTable
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RouteTable
impl Debug for RouteTable
source§impl PartialEq for RouteTable
impl PartialEq for RouteTable
source§fn eq(&self, other: &RouteTable) -> bool
fn eq(&self, other: &RouteTable) -> bool
self
and other
values to be equal, and is used
by ==
.