#[non_exhaustive]pub struct MplsPathHop {
pub address: String,
pub qualifier: Option<String>,
}Expand description
A hop of an MplsPath, in order.
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.address: StringAn IP address, a hostname or the name of an abstract hop.
qualifier: Option<String>strict or loose, or for an abstract hop abstract, loose or loose-link.
Trait Implementations§
Source§impl Clone for MplsPathHop
impl Clone for MplsPathHop
Source§impl Debug for MplsPathHop
impl Debug for MplsPathHop
impl Eq for MplsPathHop
Source§impl PartialEq for MplsPathHop
impl PartialEq for MplsPathHop
impl StructuralPartialEq for MplsPathHop
Auto Trait Implementations§
impl Forget for MplsPathHop
impl Freeze for MplsPathHop
impl Move for MplsPathHop
impl RefUnwindSafe for MplsPathHop
impl Send for MplsPathHopwhere
RawVecInner: Send,
impl Sync for MplsPathHopwhere
RawVecInner: Sync,
impl Unpin for MplsPathHop
impl UnsafeUnpin for MplsPathHop
impl UnwindSafe for MplsPathHopwhere
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