Struct aws_sdk_ec2::model::ClientVpnRoute
source · [−]#[non_exhaustive]pub struct ClientVpnRoute {
pub client_vpn_endpoint_id: Option<String>,
pub destination_cidr: Option<String>,
pub target_subnet: Option<String>,
pub type: Option<String>,
pub origin: Option<String>,
pub status: Option<ClientVpnRouteStatus>,
pub description: Option<String>,
}
Expand description
Information about a Client VPN endpoint 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.client_vpn_endpoint_id: Option<String>
The ID of the Client VPN endpoint with which the route is associated.
destination_cidr: Option<String>
The IPv4 address range, in CIDR notation, of the route destination.
target_subnet: Option<String>
The ID of the subnet through which traffic is routed.
type: Option<String>
The route type.
origin: Option<String>
Indicates how the route was associated with the Client VPN endpoint. associate
indicates that the route was automatically added when the target network was associated with the Client VPN endpoint. add-route
indicates that the route was manually added using the CreateClientVpnRoute action.
status: Option<ClientVpnRouteStatus>
The current state of the route.
description: Option<String>
A brief description of the route.
Implementations
sourceimpl ClientVpnRoute
impl ClientVpnRoute
sourcepub fn client_vpn_endpoint_id(&self) -> Option<&str>
pub fn client_vpn_endpoint_id(&self) -> Option<&str>
The ID of the Client VPN endpoint with which the route is associated.
sourcepub fn destination_cidr(&self) -> Option<&str>
pub fn destination_cidr(&self) -> Option<&str>
The IPv4 address range, in CIDR notation, of the route destination.
sourcepub fn target_subnet(&self) -> Option<&str>
pub fn target_subnet(&self) -> Option<&str>
The ID of the subnet through which traffic is routed.
sourcepub fn origin(&self) -> Option<&str>
pub fn origin(&self) -> Option<&str>
Indicates how the route was associated with the Client VPN endpoint. associate
indicates that the route was automatically added when the target network was associated with the Client VPN endpoint. add-route
indicates that the route was manually added using the CreateClientVpnRoute action.
sourcepub fn status(&self) -> Option<&ClientVpnRouteStatus>
pub fn status(&self) -> Option<&ClientVpnRouteStatus>
The current state of the route.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A brief description of the route.
sourceimpl ClientVpnRoute
impl ClientVpnRoute
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ClientVpnRoute
.
Trait Implementations
sourceimpl Clone for ClientVpnRoute
impl Clone for ClientVpnRoute
sourcefn clone(&self) -> ClientVpnRoute
fn clone(&self) -> ClientVpnRoute
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 more
sourceimpl Debug for ClientVpnRoute
impl Debug for ClientVpnRoute
sourceimpl PartialEq<ClientVpnRoute> for ClientVpnRoute
impl PartialEq<ClientVpnRoute> for ClientVpnRoute
sourcefn eq(&self, other: &ClientVpnRoute) -> bool
fn eq(&self, other: &ClientVpnRoute) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ClientVpnRoute) -> bool
fn ne(&self, other: &ClientVpnRoute) -> bool
This method tests for !=
.
impl StructuralPartialEq for ClientVpnRoute
Auto Trait Implementations
impl RefUnwindSafe for ClientVpnRoute
impl Send for ClientVpnRoute
impl Sync for ClientVpnRoute
impl Unpin for ClientVpnRoute
impl UnwindSafe for ClientVpnRoute
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more