#[non_exhaustive]pub struct NextHopMapClass {
pub forwarding_class: Option<String>,
pub discard: bool,
pub lsp_next_hops: Vec<String>,
pub next_hops: Vec<String>,
pub non_lsp_next_hop: bool,
}Expand description
A forwarding-class <name> or forwarding-class-default entry of a next-hop map.
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.forwarding_class: Option<String>None for forwarding-class-default.
discard: bool§lsp_next_hops: Vec<String>§next_hops: Vec<String>§non_lsp_next_hop: boolTrait Implementations§
Source§impl Clone for NextHopMapClass
impl Clone for NextHopMapClass
Source§impl Debug for NextHopMapClass
impl Debug for NextHopMapClass
impl Eq for NextHopMapClass
Source§impl PartialEq for NextHopMapClass
impl PartialEq for NextHopMapClass
impl StructuralPartialEq for NextHopMapClass
Auto Trait Implementations§
impl Forget for NextHopMapClass
impl Freeze for NextHopMapClass
impl Move for NextHopMapClass
impl RefUnwindSafe for NextHopMapClass
impl Send for NextHopMapClasswhere
RawVecInner: Send,
impl Sync for NextHopMapClasswhere
RawVecInner: Sync,
impl Unpin for NextHopMapClass
impl UnsafeUnpin for NextHopMapClasswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for NextHopMapClasswhere
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