pub struct VpnProfile {
pub id: String,
pub uuid: String,
pub vpn_type: VpnType,
pub interface_name: Option<String>,
pub autoconnect: bool,
pub editable: bool,
pub last_error: Option<String>,
}Fields§
§id: String§uuid: String§vpn_type: VpnType§interface_name: Option<String>§autoconnect: bool§editable: bool§last_error: Option<String>Trait Implementations§
Source§impl Clone for VpnProfile
impl Clone for VpnProfile
Source§fn clone(&self) -> VpnProfile
fn clone(&self) -> VpnProfile
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 VpnProfile
impl Debug for VpnProfile
Source§impl<'de> Deserialize<'de> for VpnProfile
impl<'de> Deserialize<'de> for VpnProfile
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 VpnProfile
impl RefUnwindSafe for VpnProfile
impl Send for VpnProfile
impl Sync for VpnProfile
impl Unpin for VpnProfile
impl UnsafeUnpin for VpnProfile
impl UnwindSafe for VpnProfile
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