pub struct VpnIkeProposalsCreateRequest {
pub name: String,
pub description: Option<String>,
pub authentication_method: AuthenticationMethod,
pub encryption_algorithm: EncryptionAlgorithm,
pub authentication_algorithm: Option<Option<AuthenticationAlgorithm>>,
pub group: i32,
pub sa_lifetime: Option<Option<i32>>,
pub owner: Option<Option<Box<AsnRangeRequestOwner>>>,
pub comments: Option<String>,
pub tags: Option<Vec<NestedTagRequest>>,
pub custom_fields: Option<HashMap<String, Value>>,
}Fields§
§name: String§description: Option<String>§authentication_method: AuthenticationMethodpreshared-keys- Pre-shared keys *certificates- Certificates *rsa-signatures- RSA signatures *dsa-signatures- DSA signatures
encryption_algorithm: EncryptionAlgorithmaes-128-cbc- 128-bit AES (CBC) *aes-128-gcm- 128-bit AES (GCM) *aes-192-cbc- 192-bit AES (CBC) *aes-192-gcm- 192-bit AES (GCM) *aes-256-cbc- 256-bit AES (CBC) *aes-256-gcm- 256-bit AES (GCM) *3des-cbc- 3DES *des-cbc- DES
authentication_algorithm: Option<Option<AuthenticationAlgorithm>>hmac-sha1- SHA-1 HMAC *hmac-sha256- SHA-256 HMAC *hmac-sha384- SHA-384 HMAC *hmac-sha512- SHA-512 HMAC *hmac-md5- MD5 HMAC
group: i32Diffie-Hellman group ID * 1 - Group 1 * 2 - Group 2 * 5 - Group 5 * 14 - Group 14 * 15 - Group 15 * 16 - Group 16 * 17 - Group 17 * 18 - Group 18 * 19 - Group 19 * 20 - Group 20 * 21 - Group 21 * 22 - Group 22 * 23 - Group 23 * 24 - Group 24 * 25 - Group 25 * 26 - Group 26 * 27 - Group 27 * 28 - Group 28 * 29 - Group 29 * 30 - Group 30 * 31 - Group 31 * 32 - Group 32 * 33 - Group 33 * 34 - Group 34
sa_lifetime: Option<Option<i32>>Security association lifetime (in seconds)
owner: Option<Option<Box<AsnRangeRequestOwner>>>§comments: Option<String>§custom_fields: Option<HashMap<String, Value>>Implementations§
Source§impl VpnIkeProposalsCreateRequest
impl VpnIkeProposalsCreateRequest
pub fn new( name: String, authentication_method: AuthenticationMethod, encryption_algorithm: EncryptionAlgorithm, group: i32, ) -> VpnIkeProposalsCreateRequest
Trait Implementations§
Source§impl Clone for VpnIkeProposalsCreateRequest
impl Clone for VpnIkeProposalsCreateRequest
Source§fn clone(&self) -> VpnIkeProposalsCreateRequest
fn clone(&self) -> VpnIkeProposalsCreateRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VpnIkeProposalsCreateRequest
impl Debug for VpnIkeProposalsCreateRequest
Source§impl Default for VpnIkeProposalsCreateRequest
impl Default for VpnIkeProposalsCreateRequest
Source§fn default() -> VpnIkeProposalsCreateRequest
fn default() -> VpnIkeProposalsCreateRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VpnIkeProposalsCreateRequest
impl<'de> Deserialize<'de> for VpnIkeProposalsCreateRequest
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
Source§impl PartialEq for VpnIkeProposalsCreateRequest
impl PartialEq for VpnIkeProposalsCreateRequest
Source§fn eq(&self, other: &VpnIkeProposalsCreateRequest) -> bool
fn eq(&self, other: &VpnIkeProposalsCreateRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VpnIkeProposalsCreateRequest
Auto Trait Implementations§
impl Freeze for VpnIkeProposalsCreateRequest
impl RefUnwindSafe for VpnIkeProposalsCreateRequest
impl Send for VpnIkeProposalsCreateRequest
impl Sync for VpnIkeProposalsCreateRequest
impl Unpin for VpnIkeProposalsCreateRequest
impl UnsafeUnpin for VpnIkeProposalsCreateRequest
impl UnwindSafe for VpnIkeProposalsCreateRequest
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