#[non_exhaustive]pub struct MacList {
pub name: String,
pub mac_addresses: Vec<String>,
}Expand description
A mac-list <name>, which a from mac-filter-list condition refers to.
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: String§mac_addresses: Vec<String>Trait Implementations§
impl Eq for MacList
impl StructuralPartialEq for MacList
Auto Trait Implementations§
impl Forget for MacList
impl Freeze for MacList
impl Move for MacList
impl RefUnwindSafe for MacList
impl Send for MacListwhere
RawVecInner: Send,
impl Sync for MacListwhere
RawVecInner: Sync,
impl Unpin for MacList
impl UnsafeUnpin for MacListwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for MacListwhere
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