pub struct VPN {
pub custom_data: Option<CustomData>,
pub server: String,
pub user: String,
pub group: Option<String>,
pub password: String,
pub key: String,
pub type: VPNEnum,
}Expand description
VPN VPN Configuration settings
Fields§
§custom_data: Option<CustomData>§server: StringVPN. Server. URI VPN Server Address
user: StringVPN. User. User_ Name VPN User
group: Option<String>VPN. Group. Group_ Name VPN group.
password: StringVPN. Password. Password VPN Password.
key: StringVPN. Key. VPN_ Key VPN shared secret.
type: VPNEnumTrait 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