#[non_exhaustive]pub struct VrrpGroup {Show 17 fields
pub group: String,
pub inet6: bool,
pub accept_data: Option<bool>,
pub advertise_interval: Option<String>,
pub inet6_advertise_interval: Option<String>,
pub advertisements_threshold: Option<String>,
pub fast_interval: Option<String>,
pub priority: Option<String>,
pub preferred: bool,
pub authentication_type: Option<String>,
pub has_authentication_key: bool,
pub preempt: Option<bool>,
pub preempt_hold_time: Option<String>,
pub virtual_addresses: Vec<String>,
pub virtual_link_local_address: Option<String>,
pub track: Option<VrrpTrack>,
pub inherit_from: Option<VrrpInheritFrom>,
}Expand description
A vrrp-group (under family inet) or vrrp-inet6-group (under family inet6). The
authentication-key is not extracted.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.group: String§inet6: boolWritten as vrrp-inet6-group.
accept_data: Option<bool>Some(true) for accept-data, Some(false) for no-accept-data.
advertise_interval: Option<String>Seconds, vrrp-group only.
inet6_advertise_interval: Option<String>Milliseconds, vrrp-inet6-group only.
advertisements_threshold: Option<String>§fast_interval: Option<String>Milliseconds.
priority: Option<String>§preferred: bool§authentication_type: Option<String>md5 or simple.
has_authentication_key: boolAn authentication-key is configured.
preempt: Option<bool>Some(true) for preempt, Some(false) for no-preempt.
preempt_hold_time: Option<String>Seconds, from preempt { hold-time ...; }.
virtual_addresses: Vec<String>From virtual-address or virtual-inet6-address.
virtual_link_local_address: Option<String>§track: Option<VrrpTrack>§inherit_from: Option<VrrpInheritFrom>Trait Implementations§
impl Eq for VrrpGroup
impl StructuralPartialEq for VrrpGroup
Auto Trait Implementations§
impl Forget for VrrpGroup
impl Freeze for VrrpGroupwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<TrackedInterface>: Freeze,
PhantomData<TrackedRoute>: Freeze,
impl Move for VrrpGroup
impl RefUnwindSafe for VrrpGroup
impl Send for VrrpGroupwhere
RawVecInner: Send,
impl Sync for VrrpGroupwhere
RawVecInner: Sync,
impl Unpin for VrrpGroup
impl UnsafeUnpin for VrrpGroupwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<TrackedInterface>: UnsafeUnpin,
PhantomData<TrackedRoute>: UnsafeUnpin,
impl UnwindSafe for VrrpGroupwhere
RawVecInner: UnwindSafe,
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