#[non_exhaustive]pub struct NextHopMap {
pub name: String,
pub classes: Vec<NextHopMapClass>,
}Expand description
A next-hop-map <name> of a forwarding policy.
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§classes: Vec<NextHopMapClass>Trait Implementations§
Source§impl Clone for NextHopMap
impl Clone for NextHopMap
Source§impl Debug for NextHopMap
impl Debug for NextHopMap
impl Eq for NextHopMap
Source§impl PartialEq for NextHopMap
impl PartialEq for NextHopMap
impl StructuralPartialEq for NextHopMap
Auto Trait Implementations§
impl Forget for NextHopMap
impl Freeze for NextHopMap
impl Move for NextHopMap
impl RefUnwindSafe for NextHopMap
impl Send for NextHopMapwhere
RawVecInner: Send,
impl Sync for NextHopMapwhere
RawVecInner: Sync,
impl Unpin for NextHopMap
impl UnsafeUnpin for NextHopMapwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<NextHopMapClass>: UnsafeUnpin,
impl UnwindSafe for NextHopMapwhere
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