#[non_exhaustive]pub struct MplsInterface {
pub name: String,
pub disable: bool,
pub admin_groups: Vec<String>,
pub srlg: Vec<String>,
}Expand description
An interface <name> entry of MPLS; the name can be all.
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§disable: bool§admin_groups: Vec<String>The admin-group names applied to the link.
srlg: Vec<String>Trait Implementations§
Source§impl Clone for MplsInterface
impl Clone for MplsInterface
Source§impl Debug for MplsInterface
impl Debug for MplsInterface
impl Eq for MplsInterface
Source§impl PartialEq for MplsInterface
impl PartialEq for MplsInterface
impl StructuralPartialEq for MplsInterface
Auto Trait Implementations§
impl Forget for MplsInterface
impl Freeze for MplsInterface
impl Move for MplsInterface
impl RefUnwindSafe for MplsInterface
impl Send for MplsInterfacewhere
RawVecInner: Send,
impl Sync for MplsInterfacewhere
RawVecInner: Sync,
impl Unpin for MplsInterface
impl UnsafeUnpin for MplsInterfacewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for MplsInterfacewhere
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