pub struct VpnIpsecProposalsCreateRequest {
pub name: String,
pub description: Option<String>,
pub encryption_algorithm: Option<Option<EncryptionAlgorithm>>,
pub authentication_algorithm: Option<Option<AuthenticationAlgorithm>>,
pub sa_lifetime_seconds: Option<Option<i32>>,
pub sa_lifetime_data: 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>§encryption_algorithm: Option<Option<EncryptionAlgorithm>>aes-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
sa_lifetime_seconds: Option<Option<i32>>Security association lifetime (seconds)
sa_lifetime_data: Option<Option<i32>>Security association lifetime (in kilobytes)
owner: Option<Option<Box<AsnRangeRequestOwner>>>§comments: Option<String>§custom_fields: Option<HashMap<String, Value>>Implementations§
Source§impl VpnIpsecProposalsCreateRequest
impl VpnIpsecProposalsCreateRequest
pub fn new(name: String) -> VpnIpsecProposalsCreateRequest
Trait Implementations§
Source§impl Clone for VpnIpsecProposalsCreateRequest
impl Clone for VpnIpsecProposalsCreateRequest
Source§fn clone(&self) -> VpnIpsecProposalsCreateRequest
fn clone(&self) -> VpnIpsecProposalsCreateRequest
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 Default for VpnIpsecProposalsCreateRequest
impl Default for VpnIpsecProposalsCreateRequest
Source§fn default() -> VpnIpsecProposalsCreateRequest
fn default() -> VpnIpsecProposalsCreateRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VpnIpsecProposalsCreateRequest
impl<'de> Deserialize<'de> for VpnIpsecProposalsCreateRequest
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 VpnIpsecProposalsCreateRequest
impl PartialEq for VpnIpsecProposalsCreateRequest
Source§fn eq(&self, other: &VpnIpsecProposalsCreateRequest) -> bool
fn eq(&self, other: &VpnIpsecProposalsCreateRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VpnIpsecProposalsCreateRequest
Auto Trait Implementations§
impl Freeze for VpnIpsecProposalsCreateRequest
impl RefUnwindSafe for VpnIpsecProposalsCreateRequest
impl Send for VpnIpsecProposalsCreateRequest
impl Sync for VpnIpsecProposalsCreateRequest
impl Unpin for VpnIpsecProposalsCreateRequest
impl UnsafeUnpin for VpnIpsecProposalsCreateRequest
impl UnwindSafe for VpnIpsecProposalsCreateRequest
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