pub struct IpSecProposalRequest {
pub name: String,
pub description: Option<String>,
pub encryption_algorithm: Option<EncryptionAlgorithm>,
pub authentication_algorithm: 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
IpSecProposalRequest : Adds support for custom fields and tags.
Fields§
§name: String§description: Option<String>§encryption_algorithm: 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<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 IpSecProposalRequest
impl IpSecProposalRequest
Sourcepub fn new(name: String) -> IpSecProposalRequest
pub fn new(name: String) -> IpSecProposalRequest
Adds support for custom fields and tags.
Trait Implementations§
Source§impl Clone for IpSecProposalRequest
impl Clone for IpSecProposalRequest
Source§fn clone(&self) -> IpSecProposalRequest
fn clone(&self) -> IpSecProposalRequest
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 IpSecProposalRequest
impl Debug for IpSecProposalRequest
Source§impl Default for IpSecProposalRequest
impl Default for IpSecProposalRequest
Source§fn default() -> IpSecProposalRequest
fn default() -> IpSecProposalRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IpSecProposalRequest
impl<'de> Deserialize<'de> for IpSecProposalRequest
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 IpSecProposalRequest
impl PartialEq for IpSecProposalRequest
Source§impl Serialize for IpSecProposalRequest
impl Serialize for IpSecProposalRequest
impl StructuralPartialEq for IpSecProposalRequest
Auto Trait Implementations§
impl Freeze for IpSecProposalRequest
impl RefUnwindSafe for IpSecProposalRequest
impl Send for IpSecProposalRequest
impl Sync for IpSecProposalRequest
impl Unpin for IpSecProposalRequest
impl UnwindSafe for IpSecProposalRequest
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