pub struct VpnSetting {
pub key: String,
pub enabled: Option<bool>,
pub fields: Map<String, Value>,
}Fields§
§key: String§enabled: Option<bool>§fields: Map<String, Value>Trait Implementations§
Source§impl Clone for VpnSetting
impl Clone for VpnSetting
Source§fn clone(&self) -> VpnSetting
fn clone(&self) -> VpnSetting
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 VpnSetting
impl Debug for VpnSetting
Source§impl<'de> Deserialize<'de> for VpnSetting
impl<'de> Deserialize<'de> for VpnSetting
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 VpnSetting
impl RefUnwindSafe for VpnSetting
impl Send for VpnSetting
impl Sync for VpnSetting
impl Unpin for VpnSetting
impl UnsafeUnpin for VpnSetting
impl UnwindSafe for VpnSetting
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