#[non_exhaustive]pub struct FilterActions {
pub action: Option<FilterAction>,
pub count: Option<String>,
pub policer: Option<String>,
pub forwarding_class: Option<String>,
pub loss_priority: Option<String>,
pub log: bool,
pub syslog: bool,
}Expand description
The actions of a term’s then statement. Actions not listed here are ignored.
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.action: Option<FilterAction>§count: Option<String>Counter name from count.
policer: Option<String>§forwarding_class: Option<String>§loss_priority: Option<String>§log: bool§syslog: boolTrait Implementations§
Source§impl Clone for FilterActions
impl Clone for FilterActions
Source§impl Debug for FilterActions
impl Debug for FilterActions
Source§impl Default for FilterActions
impl Default for FilterActions
impl Eq for FilterActions
Source§impl PartialEq for FilterActions
impl PartialEq for FilterActions
impl StructuralPartialEq for FilterActions
Auto Trait Implementations§
impl Forget for FilterActions
impl Freeze for FilterActions
impl Move for FilterActions
impl RefUnwindSafe for FilterActions
impl Send for FilterActions
impl Sync for FilterActions
impl Unpin for FilterActions
impl UnsafeUnpin for FilterActions
impl UnwindSafe for FilterActions
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