pub struct VpnStatus {
pub state: VpnConnectionState,
pub active_profile_id: Option<String>,
pub active_profile_uuid: Option<String>,
pub active_profile_name: Option<String>,
pub ip_address: Option<String>,
pub gateway: Option<String>,
pub since_unix_ms: Option<u64>,
}Fields§
§state: VpnConnectionState§active_profile_id: Option<String>§active_profile_uuid: Option<String>§active_profile_name: Option<String>§ip_address: Option<String>§gateway: Option<String>§since_unix_ms: Option<u64>Trait Implementations§
Source§impl<'de> Deserialize<'de> for VpnStatus
impl<'de> Deserialize<'de> for VpnStatus
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 Eq for VpnStatus
impl StructuralPartialEq for VpnStatus
Auto Trait Implementations§
impl Freeze for VpnStatus
impl RefUnwindSafe for VpnStatus
impl Send for VpnStatus
impl Sync for VpnStatus
impl Unpin for VpnStatus
impl UnsafeUnpin for VpnStatus
impl UnwindSafe for VpnStatus
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