Skip to main content

CreateSiteToSiteVpnRequest

Struct CreateSiteToSiteVpnRequest 

Source
pub struct CreateSiteToSiteVpnRequest {
Show 44 fields pub name: String, pub vpn_type: String, pub purpose: String, pub enabled: bool, pub remote_site_id: Option<String>, pub x_ipsec_pre_shared_key: Option<String>, pub ipsec_peer_ip: Option<String>, pub ipsec_dynamic_routing: Option<bool>, pub ipsec_separate_ikev2_networks: Option<bool>, pub ipsec_tunnel_ip_enabled: Option<bool>, pub ipsec_tunnel_ip: Option<String>, pub ipsec_key_exchange: Option<String>, pub ipsec_remote_identifier_enabled: Option<bool>, pub ipsec_remote_identifier: Option<String>, pub ipsec_local_identifier_enabled: Option<bool>, pub ipsec_local_identifier: Option<String>, pub ipsec_pfs: Option<bool>, pub ipsec_ike_encryption: Option<String>, pub ipsec_ike_hash: Option<String>, pub ipsec_ike_dh_group: Option<u32>, pub ipsec_dh_group: Option<u32>, pub ipsec_ike_lifetime: Option<u32>, pub ipsec_esp_encryption: Option<String>, pub ipsec_esp_hash: Option<String>, pub ipsec_esp_dh_group: Option<u32>, pub ipsec_esp_lifetime: Option<u32>, pub ipsec_interface: Option<String>, pub ipsec_local_ip: Option<String>, pub remote_vpn_dynamic_subnets_enabled: Option<bool>, pub x_openvpn_shared_secret_key: Option<String>, pub openvpn_local_address: Option<String>, pub openvpn_local_port: Option<u16>, pub openvpn_encryption_cipher: Option<String>, pub openvpn_remote_host: Option<String>, pub openvpn_remote_address: Option<String>, pub openvpn_remote_port: Option<u16>, pub openvpn_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 route_distance: Option<u32>, pub remote_vpn_subnets: Vec<String>, pub extra: BTreeMap<String, Value>,
}

Fields§

§name: String§vpn_type: String§purpose: String§enabled: bool§remote_site_id: Option<String>§x_ipsec_pre_shared_key: Option<String>§ipsec_peer_ip: Option<String>§ipsec_dynamic_routing: Option<bool>§ipsec_separate_ikev2_networks: Option<bool>§ipsec_tunnel_ip_enabled: Option<bool>§ipsec_tunnel_ip: Option<String>§ipsec_key_exchange: Option<String>§ipsec_remote_identifier_enabled: Option<bool>§ipsec_remote_identifier: Option<String>§ipsec_local_identifier_enabled: Option<bool>§ipsec_local_identifier: Option<String>§ipsec_pfs: Option<bool>§ipsec_ike_encryption: Option<String>§ipsec_ike_hash: Option<String>§ipsec_ike_dh_group: Option<u32>§ipsec_dh_group: Option<u32>§ipsec_ike_lifetime: Option<u32>§ipsec_esp_encryption: Option<String>§ipsec_esp_hash: Option<String>§ipsec_esp_dh_group: Option<u32>§ipsec_esp_lifetime: Option<u32>§ipsec_interface: Option<String>§ipsec_local_ip: Option<String>§remote_vpn_dynamic_subnets_enabled: Option<bool>§x_openvpn_shared_secret_key: Option<String>§openvpn_local_address: Option<String>§openvpn_local_port: Option<u16>§openvpn_encryption_cipher: Option<String>§openvpn_remote_host: Option<String>§openvpn_remote_address: Option<String>§openvpn_remote_port: Option<u16>§openvpn_mode: Option<String>§interface_mtu_enabled: Option<bool>§interface_mtu: Option<u16>§mss_clamp: Option<String>§mss_clamp_mss: Option<u16>§route_distance: Option<u32>§remote_vpn_subnets: Vec<String>§extra: BTreeMap<String, Value>

Trait Implementations§

Source§

impl Clone for CreateSiteToSiteVpnRequest

Source§

fn clone(&self) -> CreateSiteToSiteVpnRequest

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 CreateSiteToSiteVpnRequest

Source§

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

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

impl<'de> Deserialize<'de> for CreateSiteToSiteVpnRequest

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 CreateSiteToSiteVpnRequest

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>,