#[non_exhaustive]pub struct AcceptedMac {
pub address: String,
pub policer_input: Option<String>,
pub policer_output: Option<String>,
}Expand description
A mac-address accepted as a source by accept-source-mac, with its policers.
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: String§policer_input: Option<String>§policer_output: Option<String>Trait Implementations§
Source§impl Clone for AcceptedMac
impl Clone for AcceptedMac
Source§impl Debug for AcceptedMac
impl Debug for AcceptedMac
impl Eq for AcceptedMac
Source§impl PartialEq for AcceptedMac
impl PartialEq for AcceptedMac
impl StructuralPartialEq for AcceptedMac
Auto Trait Implementations§
impl Forget for AcceptedMac
impl Freeze for AcceptedMac
impl Move for AcceptedMac
impl RefUnwindSafe for AcceptedMac
impl Send for AcceptedMacwhere
RawVecInner: Send,
impl Sync for AcceptedMacwhere
RawVecInner: Sync,
impl Unpin for AcceptedMac
impl UnsafeUnpin for AcceptedMac
impl UnwindSafe for AcceptedMacwhere
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