#[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>,
}Expand description
An address <address> of a family, with its options. VRRP groups are 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.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>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 UnitAddress
impl Move for UnitAddress
impl RefUnwindSafe for UnitAddress
impl Send for UnitAddress
impl Sync for UnitAddress
impl Unpin for UnitAddress
impl UnsafeUnpin for UnitAddress
impl UnwindSafe for UnitAddress
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