pub struct WritableIpSecProposalRequest {
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 comments: Option<String>,
pub tags: Option<Vec<NestedTagRequest>>,
pub custom_fields: Option<HashMap<String, Value>>,
}Expand description
WritableIpSecProposalRequest : Adds support for custom fields and tags.
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)
comments: Option<String>§custom_fields: Option<HashMap<String, Value>>Implementations§
Source§impl WritableIpSecProposalRequest
impl WritableIpSecProposalRequest
Sourcepub fn new(name: String) -> WritableIpSecProposalRequest
pub fn new(name: String) -> WritableIpSecProposalRequest
Adds support for custom fields and tags.
Trait Implementations§
Source§impl Clone for WritableIpSecProposalRequest
impl Clone for WritableIpSecProposalRequest
Source§fn clone(&self) -> WritableIpSecProposalRequest
fn clone(&self) -> WritableIpSecProposalRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 WritableIpSecProposalRequest
impl Debug for WritableIpSecProposalRequest
Source§impl Default for WritableIpSecProposalRequest
impl Default for WritableIpSecProposalRequest
Source§fn default() -> WritableIpSecProposalRequest
fn default() -> WritableIpSecProposalRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WritableIpSecProposalRequest
impl<'de> Deserialize<'de> for WritableIpSecProposalRequest
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 WritableIpSecProposalRequest
impl PartialEq for WritableIpSecProposalRequest
Source§fn eq(&self, other: &WritableIpSecProposalRequest) -> bool
fn eq(&self, other: &WritableIpSecProposalRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WritableIpSecProposalRequest
Auto Trait Implementations§
impl Freeze for WritableIpSecProposalRequest
impl RefUnwindSafe for WritableIpSecProposalRequest
impl Send for WritableIpSecProposalRequest
impl Sync for WritableIpSecProposalRequest
impl Unpin for WritableIpSecProposalRequest
impl UnwindSafe for WritableIpSecProposalRequest
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