pub struct VPN {
pub base_relative: bool,
pub config_path: String,
pub credentials_path: String,
pub protocol: VPNProtocol,
pub provider: VPNProvider,
pub bind_host: Option<String>,
pub identifier: String,
pub key: String,
pub config_server_archive: Option<String>,
pub config_server_page: Option<String>,
pub network_protocol: NetworkProtocol,
}
Fields§
§base_relative: bool
§config_path: String
§credentials_path: String
§protocol: VPNProtocol
§provider: VPNProvider
§bind_host: Option<String>
§identifier: String
§key: String
§config_server_archive: Option<String>
§config_server_page: Option<String>
§network_protocol: NetworkProtocol
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
Auto Trait Implementations§
impl Freeze for VPN
impl RefUnwindSafe for VPN
impl Send for VPN
impl Sync for VPN
impl Unpin 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