pub struct WritableIkePolicyRequest {
pub name: 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 owner: Option<Option<Box<AsnRangeRequestOwner>>>,
pub comments: Option<String>,
pub tags: Option<Vec<NestedTagRequest>>,
pub custom_fields: Option<HashMap<String, Value>>,
}Expand description
WritableIkePolicyRequest : Base serializer class for models inheriting from PrimaryModel.
Fields§
§name: String§description: Option<String>§version: Option<i32>1- IKEv1 *2- IKEv2
mode: Option<Option<Mode>>aggressive- Aggressive *main- Main
proposals: Option<Vec<i32>>§owner: Option<Option<Box<AsnRangeRequestOwner>>>§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
Base serializer class for models inheriting from PrimaryModel.
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 (const: unstable) · 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§fn eq(&self, other: &WritableIkePolicyRequest) -> bool
fn eq(&self, other: &WritableIkePolicyRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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