#[non_exhaustive]pub struct AppliedMapping {
pub kind: String,
pub name: String,
pub family: Option<String>,
pub protocol: Option<String>,
pub vlan_tag: Option<String>,
}Expand description
A classifier or rewrite rule applied to an interface or unit, such as dscp ba-classifier;,
ieee-802.1 dot1p vlan-tag outer; or exp mpls-out protocol mpls-any;.
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.kind: Stringdscp, dscp-ipv6, exp, exp-push-push-push, exp-swap-push-push, ieee-802.1, inet-precedence, …
name: StringThe name of the classifier or rewrite rule, or default.
family: Option<String>mpls, inet or all.
protocol: Option<String>§vlan_tag: Option<String>Trait Implementations§
Source§impl Clone for AppliedMapping
impl Clone for AppliedMapping
Source§impl Debug for AppliedMapping
impl Debug for AppliedMapping
impl Eq for AppliedMapping
Source§impl PartialEq for AppliedMapping
impl PartialEq for AppliedMapping
impl StructuralPartialEq for AppliedMapping
Auto Trait Implementations§
impl Forget for AppliedMapping
impl Freeze for AppliedMapping
impl Move for AppliedMapping
impl RefUnwindSafe for AppliedMapping
impl Send for AppliedMappingwhere
RawVecInner: Send,
impl Sync for AppliedMappingwhere
RawVecInner: Sync,
impl Unpin for AppliedMapping
impl UnsafeUnpin for AppliedMapping
impl UnwindSafe for AppliedMappingwhere
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