pub struct VpnConnectionOptionsSpecification {
pub enable_acceleration: Option<bool>,
pub static_routes_only: Option<bool>,
pub tunnel_options: Option<Vec<VpnTunnelOptionsSpecification>>,
}Expand description
Describes VPN connection options.
Fields§
§enable_acceleration: Option<bool>Indicate whether to enable acceleration for the VPN connection.
Default: false
static_routes_only: Option<bool>Indicate whether the VPN connection uses static routes only. If you are creating a VPN connection for a device that does not support BGP, you must specify true. Use CreateVpnConnectionRoute to create a static route.
Default: false
tunnel_options: Option<Vec<VpnTunnelOptionsSpecification>>The tunnel options for the VPN connection.
Trait Implementations§
Source§impl Clone for VpnConnectionOptionsSpecification
impl Clone for VpnConnectionOptionsSpecification
Source§fn clone(&self) -> VpnConnectionOptionsSpecification
fn clone(&self) -> VpnConnectionOptionsSpecification
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for VpnConnectionOptionsSpecification
impl Default for VpnConnectionOptionsSpecification
Source§fn default() -> VpnConnectionOptionsSpecification
fn default() -> VpnConnectionOptionsSpecification
Returns the “default value” for a type. Read more
Source§impl PartialEq for VpnConnectionOptionsSpecification
impl PartialEq for VpnConnectionOptionsSpecification
Source§fn eq(&self, other: &VpnConnectionOptionsSpecification) -> bool
fn eq(&self, other: &VpnConnectionOptionsSpecification) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VpnConnectionOptionsSpecification
Auto Trait Implementations§
impl Freeze for VpnConnectionOptionsSpecification
impl RefUnwindSafe for VpnConnectionOptionsSpecification
impl Send for VpnConnectionOptionsSpecification
impl Sync for VpnConnectionOptionsSpecification
impl Unpin for VpnConnectionOptionsSpecification
impl UnwindSafe for VpnConnectionOptionsSpecification
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more