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 your subnets or gateways.
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 your subnets or gateways.
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 ==
.impl StructuralPartialEq for RouteTable
Auto Trait Implementations§
impl Freeze for RouteTable
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
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