pub struct TunnelEncapsulation {
pub value: Option<Value>,
pub label: Option<Label>,
}Fields§
§value: Option<Value>ipsec-transport- IPsec - Transport *ipsec-tunnel- IPsec - Tunnel *ip-ip- IP-in-IP *gre- GRE *wireguard- WireGuard *openvpn- OpenVPN *l2tp- L2TP *pptp- PPTP
label: Option<Label>Implementations§
Source§impl TunnelEncapsulation
impl TunnelEncapsulation
pub fn new() -> TunnelEncapsulation
Trait Implementations§
Source§impl Clone for TunnelEncapsulation
impl Clone for TunnelEncapsulation
Source§fn clone(&self) -> TunnelEncapsulation
fn clone(&self) -> TunnelEncapsulation
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 TunnelEncapsulation
impl Debug for TunnelEncapsulation
Source§impl Default for TunnelEncapsulation
impl Default for TunnelEncapsulation
Source§fn default() -> TunnelEncapsulation
fn default() -> TunnelEncapsulation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TunnelEncapsulation
impl<'de> Deserialize<'de> for TunnelEncapsulation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TunnelEncapsulation
impl PartialEq for TunnelEncapsulation
Source§impl Serialize for TunnelEncapsulation
impl Serialize for TunnelEncapsulation
impl StructuralPartialEq for TunnelEncapsulation
Auto Trait Implementations§
impl Freeze for TunnelEncapsulation
impl RefUnwindSafe for TunnelEncapsulation
impl Send for TunnelEncapsulation
impl Sync for TunnelEncapsulation
impl Unpin for TunnelEncapsulation
impl UnwindSafe for TunnelEncapsulation
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