pub struct VPN {
pub server: String,
pub user: String,
pub group: Option<String>,
pub password: String,
pub key: String,
pub type: VPNEnum,
pub custom_data: Option<CustomData>,
}Expand description
VPN Configuration settings
Fields§
§server: StringVPN Server Address
user: StringVPN User
group: Option<String>VPN group.
password: String(2.1) VPN Password.
key: StringVPN shared secret.
type: VPNEnum§custom_data: Option<CustomData>Trait Implementations§
Source§impl<'de> Deserialize<'de> for VPN
impl<'de> Deserialize<'de> for VPN
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
impl StructuralPartialEq for VPN
Auto Trait Implementations§
impl Freeze for VPN
impl RefUnwindSafe for VPN
impl Send for VPN
impl Sync for VPN
impl Unpin for VPN
impl UnsafeUnpin for VPN
impl UnwindSafe for VPN
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