#[non_exhaustive]pub struct CosRoutingInstance {
pub name: String,
pub classifiers: Vec<AppliedMapping>,
pub no_default: bool,
pub policy_map: Option<String>,
}Expand description
A routing-instances <name> entry of class-of-service.
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.name: String§classifiers: Vec<AppliedMapping>§no_default: boolno-default of the classifiers.
policy_map: Option<String>Trait Implementations§
Source§impl Clone for CosRoutingInstance
impl Clone for CosRoutingInstance
Source§impl Debug for CosRoutingInstance
impl Debug for CosRoutingInstance
impl Eq for CosRoutingInstance
Source§impl PartialEq for CosRoutingInstance
impl PartialEq for CosRoutingInstance
impl StructuralPartialEq for CosRoutingInstance
Auto Trait Implementations§
impl Forget for CosRoutingInstance
impl Freeze for CosRoutingInstance
impl Move for CosRoutingInstance
impl RefUnwindSafe for CosRoutingInstance
impl Send for CosRoutingInstancewhere
RawVecInner: Send,
impl Sync for CosRoutingInstancewhere
RawVecInner: Sync,
impl Unpin for CosRoutingInstance
impl UnsafeUnpin for CosRoutingInstancewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<AppliedMapping>: UnsafeUnpin,
impl UnwindSafe for CosRoutingInstancewhere
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