Struct rusoto_ec2::VpnConnection
source · [−]pub struct VpnConnection {
pub category: Option<String>,
pub customer_gateway_configuration: Option<String>,
pub customer_gateway_id: Option<String>,
pub options: Option<VpnConnectionOptions>,
pub routes: Option<Vec<VpnStaticRoute>>,
pub state: Option<String>,
pub tags: Option<Vec<Tag>>,
pub transit_gateway_id: Option<String>,
pub type_: Option<String>,
pub vgw_telemetry: Option<Vec<VgwTelemetry>>,
pub vpn_connection_id: Option<String>,
pub vpn_gateway_id: Option<String>,
}
Expand description
Describes a VPN connection.
Fields
category: Option<String>
The category of the VPN connection. A value of VPN
indicates an AWS VPN connection. A value of VPN-Classic
indicates an AWS Classic VPN connection.
customer_gateway_configuration: Option<String>
The configuration information for the VPN connection's customer gateway (in the native XML format). This element is always present in the CreateVpnConnection response; however, it's present in the DescribeVpnConnections response only if the VPN connection is in the pending
or available
state.
customer_gateway_id: Option<String>
The ID of the customer gateway at your end of the VPN connection.
options: Option<VpnConnectionOptions>
The VPN connection options.
routes: Option<Vec<VpnStaticRoute>>
The static routes associated with the VPN connection.
state: Option<String>
The current state of the VPN connection.
Any tags assigned to the VPN connection.
transit_gateway_id: Option<String>
The ID of the transit gateway associated with the VPN connection.
type_: Option<String>
The type of VPN connection.
vgw_telemetry: Option<Vec<VgwTelemetry>>
Information about the VPN tunnel.
vpn_connection_id: Option<String>
The ID of the VPN connection.
vpn_gateway_id: Option<String>
The ID of the virtual private gateway at the AWS side of the VPN connection.
Trait Implementations
sourceimpl Clone for VpnConnection
impl Clone for VpnConnection
sourcefn clone(&self) -> VpnConnection
fn clone(&self) -> VpnConnection
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 VpnConnection
impl Debug for VpnConnection
sourceimpl Default for VpnConnection
impl Default for VpnConnection
sourcefn default() -> VpnConnection
fn default() -> VpnConnection
Returns the “default value” for a type. Read more
sourceimpl PartialEq<VpnConnection> for VpnConnection
impl PartialEq<VpnConnection> for VpnConnection
sourcefn eq(&self, other: &VpnConnection) -> bool
fn eq(&self, other: &VpnConnection) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &VpnConnection) -> bool
fn ne(&self, other: &VpnConnection) -> bool
This method tests for !=
.
impl StructuralPartialEq for VpnConnection
Auto Trait Implementations
impl RefUnwindSafe for VpnConnection
impl Send for VpnConnection
impl Sync for VpnConnection
impl Unpin for VpnConnection
impl UnwindSafe for VpnConnection
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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