Struct aws_sdk_ec2::types::ClientVpnEndpointStatus
source · #[non_exhaustive]pub struct ClientVpnEndpointStatus {
pub code: Option<ClientVpnEndpointStatusCode>,
pub message: Option<String>,
}
Expand description
Describes the state of a Client VPN endpoint.
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.code: Option<ClientVpnEndpointStatusCode>
The state of the Client VPN endpoint. Possible states include:
-
pending-associate
- The Client VPN endpoint has been created but no target networks have been associated. The Client VPN endpoint cannot accept connections. -
available
- The Client VPN endpoint has been created and a target network has been associated. The Client VPN endpoint can accept connections. -
deleting
- The Client VPN endpoint is being deleted. The Client VPN endpoint cannot accept connections. -
deleted
- The Client VPN endpoint has been deleted. The Client VPN endpoint cannot accept connections.
message: Option<String>
A message about the status of the Client VPN endpoint.
Implementations§
source§impl ClientVpnEndpointStatus
impl ClientVpnEndpointStatus
sourcepub fn code(&self) -> Option<&ClientVpnEndpointStatusCode>
pub fn code(&self) -> Option<&ClientVpnEndpointStatusCode>
The state of the Client VPN endpoint. Possible states include:
-
pending-associate
- The Client VPN endpoint has been created but no target networks have been associated. The Client VPN endpoint cannot accept connections. -
available
- The Client VPN endpoint has been created and a target network has been associated. The Client VPN endpoint can accept connections. -
deleting
- The Client VPN endpoint is being deleted. The Client VPN endpoint cannot accept connections. -
deleted
- The Client VPN endpoint has been deleted. The Client VPN endpoint cannot accept connections.
source§impl ClientVpnEndpointStatus
impl ClientVpnEndpointStatus
sourcepub fn builder() -> ClientVpnEndpointStatusBuilder
pub fn builder() -> ClientVpnEndpointStatusBuilder
Creates a new builder-style object to manufacture ClientVpnEndpointStatus
.
Trait Implementations§
source§impl Clone for ClientVpnEndpointStatus
impl Clone for ClientVpnEndpointStatus
source§fn clone(&self) -> ClientVpnEndpointStatus
fn clone(&self) -> ClientVpnEndpointStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ClientVpnEndpointStatus
impl Debug for ClientVpnEndpointStatus
source§impl PartialEq<ClientVpnEndpointStatus> for ClientVpnEndpointStatus
impl PartialEq<ClientVpnEndpointStatus> for ClientVpnEndpointStatus
source§fn eq(&self, other: &ClientVpnEndpointStatus) -> bool
fn eq(&self, other: &ClientVpnEndpointStatus) -> bool
self
and other
values to be equal, and is used
by ==
.