pub struct VpnConnectionOptions {
pub enable_acceleration: Option<bool>,
pub static_routes_only: Option<bool>,
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.
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_options: Option<Vec<TunnelOption>>Indicates the VPN tunnel options.
Trait Implementations§
Source§impl Clone for VpnConnectionOptions
impl Clone for VpnConnectionOptions
Source§fn clone(&self) -> VpnConnectionOptions
fn clone(&self) -> VpnConnectionOptions
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 Debug for VpnConnectionOptions
impl Debug for VpnConnectionOptions
Source§impl Default for VpnConnectionOptions
impl Default for VpnConnectionOptions
Source§fn default() -> VpnConnectionOptions
fn default() -> VpnConnectionOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for VpnConnectionOptions
impl PartialEq for VpnConnectionOptions
impl StructuralPartialEq for VpnConnectionOptions
Auto Trait Implementations§
impl Freeze for VpnConnectionOptions
impl RefUnwindSafe for VpnConnectionOptions
impl Send for VpnConnectionOptions
impl Sync for VpnConnectionOptions
impl Unpin for VpnConnectionOptions
impl UnwindSafe for VpnConnectionOptions
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