#[non_exhaustive]pub struct UnitFamily {
pub name: String,
pub mtu: Option<String>,
pub filter: Option<FamilyFilter>,
pub rpf_check: Option<RpfCheck>,
pub policer: Option<FamilyPolicer>,
pub sampling: Option<FamilySampling>,
pub addresses: Vec<UnitAddress>,
}Expand description
A family <name> of a logical unit, with the settings that apply to it.
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.name: Stringe.g. "inet", "inet6", "iso", "mpls".
mtu: Option<String>§filter: Option<FamilyFilter>§rpf_check: Option<RpfCheck>§policer: Option<FamilyPolicer>§sampling: Option<FamilySampling>§addresses: Vec<UnitAddress>Trait Implementations§
Source§impl Clone for UnitFamily
impl Clone for UnitFamily
Source§impl Debug for UnitFamily
impl Debug for UnitFamily
impl Eq for UnitFamily
Source§impl PartialEq for UnitFamily
impl PartialEq for UnitFamily
impl StructuralPartialEq for UnitFamily
Auto Trait Implementations§
impl Forget for UnitFamily
impl Freeze for UnitFamily
impl Move for UnitFamily
impl RefUnwindSafe for UnitFamily
impl Send for UnitFamily
impl Sync for UnitFamily
impl Unpin for UnitFamily
impl UnsafeUnpin for UnitFamily
impl UnwindSafe for UnitFamily
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