pub struct IpamFhrpGroupsCreateRequest {
pub name: Option<String>,
pub protocol: Protocol,
pub group_id: i32,
pub auth_type: Option<Option<AuthType>>,
pub auth_key: Option<String>,
pub description: Option<String>,
pub owner: Option<Option<Box<AsnRangeRequestOwner>>>,
pub comments: Option<String>,
pub tags: Option<Vec<NestedTagRequest>>,
pub custom_fields: Option<HashMap<String, Value>>,
}Fields§
§name: Option<String>§protocol: Protocolvrrp2- VRRPv2 *vrrp3- VRRPv3 *carp- CARP *clusterxl- ClusterXL *hsrp- HSRP *glbp- GLBP *other- Other
group_id: i32§auth_type: Option<Option<AuthType>>plaintext- Plaintext *md5- MD5
auth_key: Option<String>§description: Option<String>§owner: Option<Option<Box<AsnRangeRequestOwner>>>§comments: Option<String>§custom_fields: Option<HashMap<String, Value>>Implementations§
Source§impl IpamFhrpGroupsCreateRequest
impl IpamFhrpGroupsCreateRequest
pub fn new(protocol: Protocol, group_id: i32) -> IpamFhrpGroupsCreateRequest
Trait Implementations§
Source§impl Clone for IpamFhrpGroupsCreateRequest
impl Clone for IpamFhrpGroupsCreateRequest
Source§fn clone(&self) -> IpamFhrpGroupsCreateRequest
fn clone(&self) -> IpamFhrpGroupsCreateRequest
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 IpamFhrpGroupsCreateRequest
impl Debug for IpamFhrpGroupsCreateRequest
Source§impl Default for IpamFhrpGroupsCreateRequest
impl Default for IpamFhrpGroupsCreateRequest
Source§fn default() -> IpamFhrpGroupsCreateRequest
fn default() -> IpamFhrpGroupsCreateRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IpamFhrpGroupsCreateRequest
impl<'de> Deserialize<'de> for IpamFhrpGroupsCreateRequest
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 IpamFhrpGroupsCreateRequest
impl PartialEq for IpamFhrpGroupsCreateRequest
Source§fn eq(&self, other: &IpamFhrpGroupsCreateRequest) -> bool
fn eq(&self, other: &IpamFhrpGroupsCreateRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IpamFhrpGroupsCreateRequest
Auto Trait Implementations§
impl Freeze for IpamFhrpGroupsCreateRequest
impl RefUnwindSafe for IpamFhrpGroupsCreateRequest
impl Send for IpamFhrpGroupsCreateRequest
impl Sync for IpamFhrpGroupsCreateRequest
impl Unpin for IpamFhrpGroupsCreateRequest
impl UnsafeUnpin for IpamFhrpGroupsCreateRequest
impl UnwindSafe for IpamFhrpGroupsCreateRequest
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