pub struct IpSecProfile {Show 14 fields
pub id: Option<i32>,
pub url: Option<String>,
pub display_url: Option<String>,
pub display: Option<String>,
pub name: String,
pub description: Option<String>,
pub mode: Box<IpSecProfileMode>,
pub ike_policy: Box<BriefIkePolicy>,
pub ipsec_policy: Box<BriefIpSecPolicy>,
pub comments: Option<String>,
pub tags: Option<Vec<NestedTag>>,
pub custom_fields: Option<HashMap<String, Value>>,
pub created: Option<Option<String>>,
pub last_updated: Option<Option<String>>,
}Expand description
IpSecProfile : Adds support for custom fields and tags.
Fields§
§id: Option<i32>§url: Option<String>§display_url: Option<String>§display: Option<String>§name: String§description: Option<String>§mode: Box<IpSecProfileMode>§ike_policy: Box<BriefIkePolicy>§ipsec_policy: Box<BriefIpSecPolicy>§comments: Option<String>§custom_fields: Option<HashMap<String, Value>>§created: Option<Option<String>>§last_updated: Option<Option<String>>Implementations§
Source§impl IpSecProfile
impl IpSecProfile
Sourcepub fn new(
name: String,
mode: IpSecProfileMode,
ike_policy: BriefIkePolicy,
ipsec_policy: BriefIpSecPolicy,
) -> IpSecProfile
pub fn new( name: String, mode: IpSecProfileMode, ike_policy: BriefIkePolicy, ipsec_policy: BriefIpSecPolicy, ) -> IpSecProfile
Adds support for custom fields and tags.
Trait Implementations§
Source§impl Clone for IpSecProfile
impl Clone for IpSecProfile
Source§fn clone(&self) -> IpSecProfile
fn clone(&self) -> IpSecProfile
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 IpSecProfile
impl Debug for IpSecProfile
Source§impl Default for IpSecProfile
impl Default for IpSecProfile
Source§fn default() -> IpSecProfile
fn default() -> IpSecProfile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IpSecProfile
impl<'de> Deserialize<'de> for IpSecProfile
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 IpSecProfile
impl PartialEq for IpSecProfile
Source§impl Serialize for IpSecProfile
impl Serialize for IpSecProfile
impl StructuralPartialEq for IpSecProfile
Auto Trait Implementations§
impl Freeze for IpSecProfile
impl RefUnwindSafe for IpSecProfile
impl Send for IpSecProfile
impl Sync for IpSecProfile
impl Unpin for IpSecProfile
impl UnwindSafe for IpSecProfile
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