pub struct VpnClientProfile {
pub id: EntityId,
pub name: String,
pub enabled: bool,
pub vpn_type: String,
pub server_address: Option<String>,
pub server_port: Option<u16>,
pub local_address: Option<String>,
pub username: Option<String>,
pub interface: Option<String>,
pub route_distance: Option<u32>,
pub fields: Map<String, Value>,
}Fields§
§id: EntityId§name: String§enabled: bool§vpn_type: String§server_address: Option<String>§server_port: Option<u16>§local_address: Option<String>§username: Option<String>§interface: Option<String>§route_distance: Option<u32>§fields: Map<String, Value>Trait Implementations§
Source§impl Clone for VpnClientProfile
impl Clone for VpnClientProfile
Source§fn clone(&self) -> VpnClientProfile
fn clone(&self) -> VpnClientProfile
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 VpnClientProfile
impl Debug for VpnClientProfile
Source§impl<'de> Deserialize<'de> for VpnClientProfile
impl<'de> Deserialize<'de> for VpnClientProfile
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 VpnClientProfile
impl RefUnwindSafe for VpnClientProfile
impl Send for VpnClientProfile
impl Sync for VpnClientProfile
impl Unpin for VpnClientProfile
impl UnsafeUnpin for VpnClientProfile
impl UnwindSafe for VpnClientProfile
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