#[non_exhaustive]pub struct PathSegmentList {
pub name: String,
pub weight: Option<String>,
pub return_path: Option<String>,
pub compute: Option<String>,
}Expand description
A segment list used by the primary or secondary paths of a SourceRoutingPath.
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: StringThe name of the segment-list, or of the path.
weight: Option<String>§return_path: Option<String>§compute: Option<String>The compute profile.
Trait Implementations§
Source§impl Clone for PathSegmentList
impl Clone for PathSegmentList
Source§impl Debug for PathSegmentList
impl Debug for PathSegmentList
impl Eq for PathSegmentList
Source§impl PartialEq for PathSegmentList
impl PartialEq for PathSegmentList
impl StructuralPartialEq for PathSegmentList
Auto Trait Implementations§
impl Forget for PathSegmentList
impl Freeze for PathSegmentList
impl Move for PathSegmentList
impl RefUnwindSafe for PathSegmentList
impl Send for PathSegmentListwhere
RawVecInner: Send,
impl Sync for PathSegmentListwhere
RawVecInner: Sync,
impl Unpin for PathSegmentList
impl UnsafeUnpin for PathSegmentList
impl UnwindSafe for PathSegmentListwhere
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