#[non_exhaustive]pub struct MplsStaticTransit {
pub incoming_label: String,
pub pop: bool,
pub swap: Option<String>,
pub next_hop: Option<String>,
pub bandwidth: Option<String>,
pub description: Option<String>,
pub link_protection: Option<String>,
pub node_protection: Option<MplsStaticNodeProtection>,
}Expand description
A transit <incoming-label> role of a static LSP.
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.incoming_label: String§pop: bool§swap: Option<String>The label of swap.
next_hop: Option<String>§bandwidth: Option<String>§description: Option<String>§link_protection: Option<String>§node_protection: Option<MplsStaticNodeProtection>Trait Implementations§
Source§impl Clone for MplsStaticTransit
impl Clone for MplsStaticTransit
Source§impl Debug for MplsStaticTransit
impl Debug for MplsStaticTransit
impl Eq for MplsStaticTransit
Source§impl PartialEq for MplsStaticTransit
impl PartialEq for MplsStaticTransit
impl StructuralPartialEq for MplsStaticTransit
Auto Trait Implementations§
impl Forget for MplsStaticTransit
impl Freeze for MplsStaticTransit
impl Move for MplsStaticTransit
impl RefUnwindSafe for MplsStaticTransit
impl Send for MplsStaticTransitwhere
RawVecInner: Send,
impl Sync for MplsStaticTransitwhere
RawVecInner: Sync,
impl Unpin for MplsStaticTransit
impl UnsafeUnpin for MplsStaticTransit
impl UnwindSafe for MplsStaticTransitwhere
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