pub struct IpSecProposal {Show 15 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 encryption_algorithm: Option<Box<IkeProposalEncryptionAlgorithm>>,
pub authentication_algorithm: Option<Box<IkeProposalAuthenticationAlgorithm>>,
pub sa_lifetime_seconds: Option<Option<i32>>,
pub sa_lifetime_data: Option<Option<i32>>,
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
IpSecProposal : 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>§encryption_algorithm: Option<Box<IkeProposalEncryptionAlgorithm>>§authentication_algorithm: Option<Box<IkeProposalAuthenticationAlgorithm>>§sa_lifetime_seconds: Option<Option<i32>>Security association lifetime (seconds)
sa_lifetime_data: Option<Option<i32>>Security association lifetime (in kilobytes)
comments: Option<String>§custom_fields: Option<HashMap<String, Value>>§created: Option<Option<String>>§last_updated: Option<Option<String>>Implementations§
Source§impl IpSecProposal
impl IpSecProposal
Sourcepub fn new(name: String) -> IpSecProposal
pub fn new(name: String) -> IpSecProposal
Adds support for custom fields and tags.
Trait Implementations§
Source§impl Clone for IpSecProposal
impl Clone for IpSecProposal
Source§fn clone(&self) -> IpSecProposal
fn clone(&self) -> IpSecProposal
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 IpSecProposal
impl Debug for IpSecProposal
Source§impl Default for IpSecProposal
impl Default for IpSecProposal
Source§fn default() -> IpSecProposal
fn default() -> IpSecProposal
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IpSecProposal
impl<'de> Deserialize<'de> for IpSecProposal
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 IpSecProposal
impl PartialEq for IpSecProposal
Source§impl Serialize for IpSecProposal
impl Serialize for IpSecProposal
impl StructuralPartialEq for IpSecProposal
Auto Trait Implementations§
impl Freeze for IpSecProposal
impl RefUnwindSafe for IpSecProposal
impl Send for IpSecProposal
impl Sync for IpSecProposal
impl Unpin for IpSecProposal
impl UnwindSafe for IpSecProposal
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