#[non_exhaustive]pub struct FirewallFilter {
pub family: String,
pub name: String,
pub terms: Vec<FilterTerm>,
}Expand description
A filter <name> under family <family>.
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.family: StringAddress family, e.g. "inet", "inet6", "bridge".
name: String§terms: Vec<FilterTerm>Trait Implementations§
Source§impl Clone for FirewallFilter
impl Clone for FirewallFilter
Source§impl Debug for FirewallFilter
impl Debug for FirewallFilter
impl Eq for FirewallFilter
Source§impl PartialEq for FirewallFilter
impl PartialEq for FirewallFilter
impl StructuralPartialEq for FirewallFilter
Auto Trait Implementations§
impl Forget for FirewallFilter
impl Freeze for FirewallFilter
impl Move for FirewallFilter
impl RefUnwindSafe for FirewallFilter
impl Send for FirewallFilterwhere
RawVecInner: Send,
impl Sync for FirewallFilterwhere
RawVecInner: Sync,
impl Unpin for FirewallFilter
impl UnsafeUnpin for FirewallFilterwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<FilterTerm>: UnsafeUnpin,
impl UnwindSafe for FirewallFilterwhere
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