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
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.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) -> Option<&[RouteTableAssociation]>
pub fn associations(&self) -> Option<&[RouteTableAssociation]>
The associations between the route table and one or more subnets or a gateway.
sourcepub fn propagating_vgws(&self) -> Option<&[PropagatingVgw]>
pub fn propagating_vgws(&self) -> Option<&[PropagatingVgw]>
Any virtual private gateway (VGW) propagating routes.
sourcepub fn route_table_id(&self) -> Option<&str>
pub fn route_table_id(&self) -> Option<&str>
The ID of the route table.
Any tags assigned to the route table.
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
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 Debug for RouteTable
impl Debug for RouteTable
source§impl PartialEq<RouteTable> for RouteTable
impl PartialEq<RouteTable> for RouteTable
source§fn eq(&self, other: &RouteTable) -> bool
fn eq(&self, other: &RouteTable) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RouteTable
Auto Trait Implementations§
impl RefUnwindSafe for RouteTable
impl Send for RouteTable
impl Sync for RouteTable
impl Unpin for RouteTable
impl UnwindSafe for RouteTable
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