pub struct IpAddressRole {
pub value: Option<Value>,
pub label: Option<Label>,
}Fields§
§value: Option<Value>loopback- Loopback *secondary- Secondary *anycast- Anycast *vip- VIP *vrrp- VRRP *hsrp- HSRP *glbp- GLBP *carp- CARP
label: Option<Label>Implementations§
Source§impl IpAddressRole
impl IpAddressRole
pub fn new() -> IpAddressRole
Trait Implementations§
Source§impl Clone for IpAddressRole
impl Clone for IpAddressRole
Source§fn clone(&self) -> IpAddressRole
fn clone(&self) -> IpAddressRole
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 IpAddressRole
impl Debug for IpAddressRole
Source§impl Default for IpAddressRole
impl Default for IpAddressRole
Source§fn default() -> IpAddressRole
fn default() -> IpAddressRole
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IpAddressRole
impl<'de> Deserialize<'de> for IpAddressRole
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 IpAddressRole
impl PartialEq for IpAddressRole
Source§impl Serialize for IpAddressRole
impl Serialize for IpAddressRole
impl StructuralPartialEq for IpAddressRole
Auto Trait Implementations§
impl Freeze for IpAddressRole
impl RefUnwindSafe for IpAddressRole
impl Send for IpAddressRole
impl Sync for IpAddressRole
impl Unpin for IpAddressRole
impl UnwindSafe for IpAddressRole
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