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