pub struct WritableIpSecProfileRequest {
pub name: String,
pub description: Option<String>,
pub mode: Mode,
pub ike_policy: Box<IpSecProfileRequestIkePolicy>,
pub ipsec_policy: Box<IpSecProfileRequestIpsecPolicy>,
pub owner: Option<Option<Box<AsnRangeRequestOwner>>>,
pub comments: Option<String>,
pub tags: Option<Vec<NestedTagRequest>>,
pub custom_fields: Option<HashMap<String, Value>>,
}Expand description
WritableIpSecProfileRequest : Base serializer class for models inheriting from PrimaryModel.
Fields§
§name: String§description: Option<String>§mode: Modeesp- ESP *ah- AH
ike_policy: Box<IpSecProfileRequestIkePolicy>§ipsec_policy: Box<IpSecProfileRequestIpsecPolicy>§owner: Option<Option<Box<AsnRangeRequestOwner>>>§comments: Option<String>§custom_fields: Option<HashMap<String, Value>>Implementations§
Source§impl WritableIpSecProfileRequest
impl WritableIpSecProfileRequest
Sourcepub fn new(
name: String,
mode: Mode,
ike_policy: IpSecProfileRequestIkePolicy,
ipsec_policy: IpSecProfileRequestIpsecPolicy,
) -> WritableIpSecProfileRequest
pub fn new( name: String, mode: Mode, ike_policy: IpSecProfileRequestIkePolicy, ipsec_policy: IpSecProfileRequestIpsecPolicy, ) -> WritableIpSecProfileRequest
Base serializer class for models inheriting from PrimaryModel.
Trait Implementations§
Source§impl Clone for WritableIpSecProfileRequest
impl Clone for WritableIpSecProfileRequest
Source§fn clone(&self) -> WritableIpSecProfileRequest
fn clone(&self) -> WritableIpSecProfileRequest
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 WritableIpSecProfileRequest
impl Debug for WritableIpSecProfileRequest
Source§impl Default for WritableIpSecProfileRequest
impl Default for WritableIpSecProfileRequest
Source§fn default() -> WritableIpSecProfileRequest
fn default() -> WritableIpSecProfileRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WritableIpSecProfileRequest
impl<'de> Deserialize<'de> for WritableIpSecProfileRequest
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 WritableIpSecProfileRequest
impl PartialEq for WritableIpSecProfileRequest
Source§fn eq(&self, other: &WritableIpSecProfileRequest) -> bool
fn eq(&self, other: &WritableIpSecProfileRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WritableIpSecProfileRequest
Auto Trait Implementations§
impl Freeze for WritableIpSecProfileRequest
impl RefUnwindSafe for WritableIpSecProfileRequest
impl Send for WritableIpSecProfileRequest
impl Sync for WritableIpSecProfileRequest
impl Unpin for WritableIpSecProfileRequest
impl UnsafeUnpin for WritableIpSecProfileRequest
impl UnwindSafe for WritableIpSecProfileRequest
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