Struct aws_sdk_ec2::model::TransitGatewayRoute [−][src]
#[non_exhaustive]pub struct TransitGatewayRoute {
pub destination_cidr_block: Option<String>,
pub prefix_list_id: Option<String>,
pub transit_gateway_attachments: Option<Vec<TransitGatewayRouteAttachment>>,
pub type: Option<TransitGatewayRouteType>,
pub state: Option<TransitGatewayRouteState>,
}
Expand description
Describes a route for a transit gateway 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.destination_cidr_block: Option<String>
The CIDR block used for destination matches.
prefix_list_id: Option<String>
The ID of the prefix list used for destination matches.
transit_gateway_attachments: Option<Vec<TransitGatewayRouteAttachment>>
The attachments.
type: Option<TransitGatewayRouteType>
The route type.
state: Option<TransitGatewayRouteState>
The state of the route.
Implementations
The CIDR block used for destination matches.
The ID of the prefix list used for destination matches.
The attachments.
The route type.
The state of the route.
Creates a new builder-style object to manufacture TransitGatewayRoute
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more