#[non_exhaustive]pub struct UnitAddress {
pub address: String,
pub primary: bool,
pub preferred: bool,
pub master_only: bool,
pub eui_64: bool,
pub destination: Option<String>,
pub broadcast: Option<String>,
pub arps: Vec<AddressArp>,
pub vrrp_groups: Vec<VrrpGroup>,
}Expand description
An address <address> of a family, with its options.
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.address: Stringe.g. "10.0.0.1/24".
primary: bool§preferred: bool§master_only: bool§eui_64: bool§destination: Option<String>§broadcast: Option<String>§arps: Vec<AddressArp>§vrrp_groups: Vec<VrrpGroup>Trait Implementations§
Source§impl Clone for UnitAddress
impl Clone for UnitAddress
Source§impl Debug for UnitAddress
impl Debug for UnitAddress
impl Eq for UnitAddress
Source§impl PartialEq for UnitAddress
impl PartialEq for UnitAddress
impl StructuralPartialEq for UnitAddress
Auto Trait Implementations§
impl Forget for UnitAddress
impl Freeze for UnitAddresswhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<AddressArp>: Freeze,
PhantomData<VrrpGroup>: Freeze,
impl Move for UnitAddress
impl RefUnwindSafe for UnitAddress
impl Send for UnitAddresswhere
RawVecInner: Send,
impl Sync for UnitAddresswhere
RawVecInner: Sync,
impl Unpin for UnitAddress
impl UnsafeUnpin for UnitAddresswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<AddressArp>: UnsafeUnpin,
PhantomData<VrrpGroup>: UnsafeUnpin,
impl UnwindSafe for UnitAddresswhere
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