pub struct PatchedWritableIkePolicyRequest {
pub name: Option<String>,
pub description: Option<String>,
pub version: Option<i32>,
pub mode: Option<Option<Mode>>,
pub proposals: Option<Vec<i32>>,
pub preshared_key: Option<String>,
pub comments: Option<String>,
pub tags: Option<Vec<NestedTagRequest>>,
pub custom_fields: Option<HashMap<String, Value>>,
}Expand description
PatchedWritableIkePolicyRequest : Adds support for custom fields and tags.
Fields§
§name: Option<String>§description: Option<String>§version: Option<i32>1- IKEv1 *2- IKEv2
mode: Option<Option<Mode>>aggressive- Aggressive *main- Main
proposals: Option<Vec<i32>>§comments: Option<String>§custom_fields: Option<HashMap<String, Value>>Implementations§
Source§impl PatchedWritableIkePolicyRequest
impl PatchedWritableIkePolicyRequest
Sourcepub fn new() -> PatchedWritableIkePolicyRequest
pub fn new() -> PatchedWritableIkePolicyRequest
Adds support for custom fields and tags.
Trait Implementations§
Source§impl Clone for PatchedWritableIkePolicyRequest
impl Clone for PatchedWritableIkePolicyRequest
Source§fn clone(&self) -> PatchedWritableIkePolicyRequest
fn clone(&self) -> PatchedWritableIkePolicyRequest
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 Default for PatchedWritableIkePolicyRequest
impl Default for PatchedWritableIkePolicyRequest
Source§fn default() -> PatchedWritableIkePolicyRequest
fn default() -> PatchedWritableIkePolicyRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedWritableIkePolicyRequest
impl<'de> Deserialize<'de> for PatchedWritableIkePolicyRequest
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 PatchedWritableIkePolicyRequest
impl PartialEq for PatchedWritableIkePolicyRequest
Source§fn eq(&self, other: &PatchedWritableIkePolicyRequest) -> bool
fn eq(&self, other: &PatchedWritableIkePolicyRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PatchedWritableIkePolicyRequest
Auto Trait Implementations§
impl Freeze for PatchedWritableIkePolicyRequest
impl RefUnwindSafe for PatchedWritableIkePolicyRequest
impl Send for PatchedWritableIkePolicyRequest
impl Sync for PatchedWritableIkePolicyRequest
impl Unpin for PatchedWritableIkePolicyRequest
impl UnwindSafe for PatchedWritableIkePolicyRequest
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