Struct aws_sdk_ec2::model::TransitGatewayRoute
source · [−]#[non_exhaustive]pub struct TransitGatewayRoute { /* private fields */ }
Expand description
Describes a route for a transit gateway route table.
Implementations
sourceimpl TransitGatewayRoute
impl TransitGatewayRoute
sourcepub fn destination_cidr_block(&self) -> Option<&str>
pub fn destination_cidr_block(&self) -> Option<&str>
The CIDR block used for destination matches.
sourcepub fn prefix_list_id(&self) -> Option<&str>
pub fn prefix_list_id(&self) -> Option<&str>
The ID of the prefix list used for destination matches.
sourcepub fn transit_gateway_route_table_announcement_id(&self) -> Option<&str>
pub fn transit_gateway_route_table_announcement_id(&self) -> Option<&str>
The ID of the transit gateway route table announcement.
sourcepub fn transit_gateway_attachments(
&self
) -> Option<&[TransitGatewayRouteAttachment]>
pub fn transit_gateway_attachments(
&self
) -> Option<&[TransitGatewayRouteAttachment]>
The attachments.
sourcepub fn type(&self) -> Option<&TransitGatewayRouteType>
pub fn type(&self) -> Option<&TransitGatewayRouteType>
The route type.
sourcepub fn state(&self) -> Option<&TransitGatewayRouteState>
pub fn state(&self) -> Option<&TransitGatewayRouteState>
The state of the route.
sourceimpl TransitGatewayRoute
impl TransitGatewayRoute
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TransitGatewayRoute
.
Trait Implementations
sourceimpl Clone for TransitGatewayRoute
impl Clone for TransitGatewayRoute
sourcefn clone(&self) -> TransitGatewayRoute
fn clone(&self) -> TransitGatewayRoute
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 moresourceimpl Debug for TransitGatewayRoute
impl Debug for TransitGatewayRoute
sourceimpl PartialEq<TransitGatewayRoute> for TransitGatewayRoute
impl PartialEq<TransitGatewayRoute> for TransitGatewayRoute
sourcefn eq(&self, other: &TransitGatewayRoute) -> bool
fn eq(&self, other: &TransitGatewayRoute) -> bool
impl StructuralPartialEq for TransitGatewayRoute
Auto Trait Implementations
impl RefUnwindSafe for TransitGatewayRoute
impl Send for TransitGatewayRoute
impl Sync for TransitGatewayRoute
impl Unpin for TransitGatewayRoute
impl UnwindSafe for TransitGatewayRoute
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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