#[non_exhaustive]pub struct Layer2Policer {
pub input_policer: Option<String>,
pub input_three_color: Option<String>,
pub output_policer: Option<String>,
pub output_three_color: Option<String>,
pub input_hierarchical_policer: Option<String>,
}Expand description
The policers applied to an interface by layer2-policer.
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.input_policer: Option<String>§input_three_color: Option<String>§output_policer: Option<String>§output_three_color: Option<String>§input_hierarchical_policer: Option<String>Trait Implementations§
Source§impl Clone for Layer2Policer
impl Clone for Layer2Policer
Source§impl Debug for Layer2Policer
impl Debug for Layer2Policer
impl Eq for Layer2Policer
Source§impl PartialEq for Layer2Policer
impl PartialEq for Layer2Policer
impl StructuralPartialEq for Layer2Policer
Auto Trait Implementations§
impl Forget for Layer2Policer
impl Freeze for Layer2Policer
impl Move for Layer2Policer
impl RefUnwindSafe for Layer2Policer
impl Send for Layer2Policerwhere
RawVecInner: Send,
impl Sync for Layer2Policerwhere
RawVecInner: Sync,
impl Unpin for Layer2Policer
impl UnsafeUnpin for Layer2Policer
impl UnwindSafe for Layer2Policerwhere
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