Struct rusoto_ec2::VpnConnectionOptions
source · [−]pub struct VpnConnectionOptions {
pub enable_acceleration: Option<bool>,
pub local_ipv_4_network_cidr: Option<String>,
pub local_ipv_6_network_cidr: Option<String>,
pub remote_ipv_4_network_cidr: Option<String>,
pub remote_ipv_6_network_cidr: Option<String>,
pub static_routes_only: Option<bool>,
pub tunnel_inside_ip_version: Option<String>,
pub tunnel_options: Option<Vec<TunnelOption>>,
}
Expand description
Describes VPN connection options.
Fields
enable_acceleration: Option<bool>
Indicates whether acceleration is enabled for the VPN connection.
local_ipv_4_network_cidr: Option<String>
The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
local_ipv_6_network_cidr: Option<String>
The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
remote_ipv_4_network_cidr: Option<String>
The IPv4 CIDR on the AWS side of the VPN connection.
remote_ipv_6_network_cidr: Option<String>
The IPv6 CIDR on the AWS side of the VPN connection.
static_routes_only: Option<bool>
Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don't support BGP.
tunnel_inside_ip_version: Option<String>
Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.
tunnel_options: Option<Vec<TunnelOption>>
Indicates the VPN tunnel options.
Trait Implementations
sourceimpl Clone for VpnConnectionOptions
impl Clone for VpnConnectionOptions
sourcefn clone(&self) -> VpnConnectionOptions
fn clone(&self) -> VpnConnectionOptions
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 VpnConnectionOptions
impl Debug for VpnConnectionOptions
sourceimpl Default for VpnConnectionOptions
impl Default for VpnConnectionOptions
sourcefn default() -> VpnConnectionOptions
fn default() -> VpnConnectionOptions
Returns the “default value” for a type. Read more
sourceimpl PartialEq<VpnConnectionOptions> for VpnConnectionOptions
impl PartialEq<VpnConnectionOptions> for VpnConnectionOptions
sourcefn eq(&self, other: &VpnConnectionOptions) -> bool
fn eq(&self, other: &VpnConnectionOptions) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &VpnConnectionOptions) -> bool
fn ne(&self, other: &VpnConnectionOptions) -> bool
This method tests for !=
.
impl StructuralPartialEq for VpnConnectionOptions
Auto Trait Implementations
impl RefUnwindSafe for VpnConnectionOptions
impl Send for VpnConnectionOptions
impl Sync for VpnConnectionOptions
impl Unpin for VpnConnectionOptions
impl UnwindSafe for VpnConnectionOptions
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