#[non_exhaustive]pub struct PrefixAction {
pub family: String,
pub name: String,
pub count: bool,
pub destination_prefix_length: Option<String>,
pub filter_specific: bool,
pub policer: Option<String>,
pub source_prefix_length: Option<String>,
pub subnet_prefix_length: Option<String>,
}Expand description
A prefix-action <name>, which polices or counts per source or destination prefix.
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: StringThe family it is under, "inet".
name: String§count: bool§destination_prefix_length: Option<String>§filter_specific: bool§policer: Option<String>§source_prefix_length: Option<String>§subnet_prefix_length: Option<String>Trait Implementations§
Source§impl Clone for PrefixAction
impl Clone for PrefixAction
Source§impl Debug for PrefixAction
impl Debug for PrefixAction
impl Eq for PrefixAction
Source§impl PartialEq for PrefixAction
impl PartialEq for PrefixAction
impl StructuralPartialEq for PrefixAction
Auto Trait Implementations§
impl Forget for PrefixAction
impl Freeze for PrefixAction
impl Move for PrefixAction
impl RefUnwindSafe for PrefixAction
impl Send for PrefixActionwhere
RawVecInner: Send,
impl Sync for PrefixActionwhere
RawVecInner: Sync,
impl Unpin for PrefixAction
impl UnsafeUnpin for PrefixAction
impl UnwindSafe for PrefixActionwhere
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