pub struct VpnUpdateConfig {
pub uuid: String,
pub id: Option<String>,
pub autoconnect: Option<bool>,
pub username: Option<String>,
pub password: Option<String>,
pub gateway: Option<String>,
pub ca_cert_path: Option<String>,
pub user_cert_path: Option<String>,
pub private_key_path: Option<String>,
pub private_key_password: Option<String>,
pub settings: Option<HashMap<String, String>>,
pub secrets: Option<HashMap<String, String>>,
}Fields§
§uuid: String§id: Option<String>§autoconnect: Option<bool>§username: Option<String>§password: Option<String>§gateway: Option<String>§ca_cert_path: Option<String>§user_cert_path: Option<String>§private_key_path: Option<String>§private_key_password: Option<String>§settings: Option<HashMap<String, String>>§secrets: Option<HashMap<String, String>>Trait Implementations§
Source§impl Clone for VpnUpdateConfig
impl Clone for VpnUpdateConfig
Source§fn clone(&self) -> VpnUpdateConfig
fn clone(&self) -> VpnUpdateConfig
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<'de> Deserialize<'de> for VpnUpdateConfig
impl<'de> Deserialize<'de> for VpnUpdateConfig
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 VpnUpdateConfig
impl RefUnwindSafe for VpnUpdateConfig
impl Send for VpnUpdateConfig
impl Sync for VpnUpdateConfig
impl Unpin for VpnUpdateConfig
impl UnsafeUnpin for VpnUpdateConfig
impl UnwindSafe for VpnUpdateConfig
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