pub struct WritableIkeProposalRequest {
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 comments: Option<String>,
pub tags: Option<Vec<NestedTagRequest>>,
pub custom_fields: Option<HashMap<String, Value>>,
}Expand description
WritableIkeProposalRequest : Adds support for custom fields and tags.
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)
comments: Option<String>§custom_fields: Option<HashMap<String, Value>>Implementations§
Source§impl WritableIkeProposalRequest
impl WritableIkeProposalRequest
Sourcepub fn new(
name: String,
authentication_method: AuthenticationMethod,
encryption_algorithm: EncryptionAlgorithm,
group: i32,
) -> WritableIkeProposalRequest
pub fn new( name: String, authentication_method: AuthenticationMethod, encryption_algorithm: EncryptionAlgorithm, group: i32, ) -> WritableIkeProposalRequest
Adds support for custom fields and tags.
Trait Implementations§
Source§impl Clone for WritableIkeProposalRequest
impl Clone for WritableIkeProposalRequest
Source§fn clone(&self) -> WritableIkeProposalRequest
fn clone(&self) -> WritableIkeProposalRequest
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 WritableIkeProposalRequest
impl Debug for WritableIkeProposalRequest
Source§impl Default for WritableIkeProposalRequest
impl Default for WritableIkeProposalRequest
Source§fn default() -> WritableIkeProposalRequest
fn default() -> WritableIkeProposalRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WritableIkeProposalRequest
impl<'de> Deserialize<'de> for WritableIkeProposalRequest
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
impl StructuralPartialEq for WritableIkeProposalRequest
Auto Trait Implementations§
impl Freeze for WritableIkeProposalRequest
impl RefUnwindSafe for WritableIkeProposalRequest
impl Send for WritableIkeProposalRequest
impl Sync for WritableIkeProposalRequest
impl Unpin for WritableIkeProposalRequest
impl UnwindSafe for WritableIkeProposalRequest
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