Skip to main content

CreateRemoteAccessVpnServerRequest

Struct CreateRemoteAccessVpnServerRequest 

Source
pub struct CreateRemoteAccessVpnServerRequest {
Show 39 fields pub name: String, pub vpn_type: String, pub purpose: String, pub enabled: bool, pub setting_preference: Option<String>, pub l2tp_allow_weak_ciphers: Option<bool>, pub require_mschapv2: Option<bool>, pub exposed_to_site_vpn: Option<bool>, pub dhcpd_wins_enabled: Option<bool>, pub dhcpd_wins_1: Option<String>, pub dhcpd_wins_2: Option<String>, pub dhcpd_dns_enabled: Option<bool>, pub dhcpd_dns_1: Option<String>, pub dhcpd_dns_2: Option<String>, pub local_port: Option<u16>, pub x_wireguard_private_key: Option<String>, pub vpn_client_configuration_remote_ip_override_enabled: Option<bool>, pub vpn_client_configuration_remote_ip_override: Option<String>, pub x_ipsec_pre_shared_key: Option<String>, pub radiusprofile_id: Option<String>, pub ip_subnet: Option<String>, pub ipv6_subnet: Option<String>, pub dhcpd_start: Option<String>, pub dhcpd_stop: Option<String>, pub wireguard_interface: Option<String>, pub wireguard_interface_binding_mode_ip_version: Option<String>, pub l2tp_interface: Option<String>, pub openvpn_interface: Option<String>, pub wireguard_local_wan_ip: Option<String>, pub l2tp_local_wan_ip: Option<String>, pub openvpn_local_wan_ip: Option<String>, pub vpn_binding_mode: Option<String>, pub interface_mtu_enabled: Option<bool>, pub interface_mtu: Option<u16>, pub mss_clamp: Option<String>, pub mss_clamp_mss: Option<u16>, pub mss_clamp_ipv6: Option<String>, pub mss_clamp_mss_ipv6: Option<u16>, pub extra: BTreeMap<String, Value>,
}

Fields§

§name: String§vpn_type: String§purpose: String§enabled: bool§setting_preference: Option<String>§l2tp_allow_weak_ciphers: Option<bool>§require_mschapv2: Option<bool>§exposed_to_site_vpn: Option<bool>§dhcpd_wins_enabled: Option<bool>§dhcpd_wins_1: Option<String>§dhcpd_wins_2: Option<String>§dhcpd_dns_enabled: Option<bool>§dhcpd_dns_1: Option<String>§dhcpd_dns_2: Option<String>§local_port: Option<u16>§x_wireguard_private_key: Option<String>§vpn_client_configuration_remote_ip_override_enabled: Option<bool>§vpn_client_configuration_remote_ip_override: Option<String>§x_ipsec_pre_shared_key: Option<String>§radiusprofile_id: Option<String>§ip_subnet: Option<String>§ipv6_subnet: Option<String>§dhcpd_start: Option<String>§dhcpd_stop: Option<String>§wireguard_interface: Option<String>§wireguard_interface_binding_mode_ip_version: Option<String>§l2tp_interface: Option<String>§openvpn_interface: Option<String>§wireguard_local_wan_ip: Option<String>§l2tp_local_wan_ip: Option<String>§openvpn_local_wan_ip: Option<String>§vpn_binding_mode: Option<String>§interface_mtu_enabled: Option<bool>§interface_mtu: Option<u16>§mss_clamp: Option<String>§mss_clamp_mss: Option<u16>§mss_clamp_ipv6: Option<String>§mss_clamp_mss_ipv6: Option<u16>§extra: BTreeMap<String, Value>

Trait Implementations§

Source§

impl Clone for CreateRemoteAccessVpnServerRequest

Source§

fn clone(&self) -> CreateRemoteAccessVpnServerRequest

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CreateRemoteAccessVpnServerRequest

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for CreateRemoteAccessVpnServerRequest

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for CreateRemoteAccessVpnServerRequest

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,