pub struct VPNSettings {
pub data: HashMap<String, String>,
pub name: String,
pub persistent: bool,
pub secrets: HashMap<String, String>,
pub service_type: String,
pub timeout: u32,
pub user_name: String,
}
Fields§
§data: HashMap<String, String>
§name: String
§persistent: bool
§secrets: HashMap<String, String>
§service_type: String
§timeout: u32
§user_name: String
Trait Implementations§
Source§impl Clone for VPNSettings
impl Clone for VPNSettings
Source§fn clone(&self) -> VPNSettings
fn clone(&self) -> VPNSettings
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 VPNSettings
impl Debug for VPNSettings
Source§impl PropMapConvert for VPNSettings
impl PropMapConvert for VPNSettings
fn from_propmap(map: PropMap) -> Self
fn to_propmap(&self, map: &mut PropMap)
Auto Trait Implementations§
impl Freeze for VPNSettings
impl RefUnwindSafe for VPNSettings
impl Send for VPNSettings
impl Sync for VPNSettings
impl Unpin for VPNSettings
impl UnwindSafe for VPNSettings
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