Struct lethean_api::models::vpn_settings_entity::VpnSettingsEntity [−][src]
pub struct VpnSettingsEntity { pub endpoint: String, pub port: String, pub parameters: String, pub terms: String, pub policy: Vec<String>, }
Fields
endpoint: String
IP Addresses of endpoints for VPN service only
port: String
Port these settings apply to
parameters: String
mtu size parameter for vpn service only
terms: String
Terms for the service
policy: Vec<String>
a JSON containing access policy - whitelist/blacklist default, allowed/blocked IPs and FQDNs in regex format. This is NOT sent to SDP. It is used by the Dispatcher to orchestrate restrictions on Server
Implementations
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for VpnSettingsEntity
impl Send for VpnSettingsEntity
impl Sync for VpnSettingsEntity
impl Unpin for VpnSettingsEntity
impl UnwindSafe for VpnSettingsEntity
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more