Struct aws_sdk_networkmanager::model::NetworkRoute [−][src]
#[non_exhaustive]pub struct NetworkRoute {
pub destination_cidr_block: Option<String>,
pub destinations: Option<Vec<NetworkRouteDestination>>,
pub prefix_list_id: Option<String>,
pub state: Option<RouteState>,
pub type: Option<RouteType>,
}
Expand description
Describes a network route.
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>
A unique identifier for the route, such as a CIDR block.
destinations: Option<Vec<NetworkRouteDestination>>
The destinations.
prefix_list_id: Option<String>
The ID of the prefix list.
state: Option<RouteState>
The route state. The possible values are active
and blackhole
.
type: Option<RouteType>
The route type. The possible values are propagated
and static
.
Implementations
A unique identifier for the route, such as a CIDR block.
The destinations.
The ID of the prefix list.
The route state. The possible values are active
and blackhole
.
Creates a new builder-style object to manufacture NetworkRoute
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 NetworkRoute
impl Send for NetworkRoute
impl Sync for NetworkRoute
impl Unpin for NetworkRoute
impl UnwindSafe for NetworkRoute
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