pub struct PathGroup<'a> {
pub key: &'a str,
pub section_owners: Option<&'a [String]>,
}Expand description
Group of one path, borrowed from the resolver or from the path.
Fields§
§key: &'a strGroup key, as the JSON key field shows it.
section_owners: Option<&'a [String]>Default owners of the section. Some only in section mode, for a
path that an owning rule matches.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for PathGroup<'a>
impl<'a> Freeze for PathGroup<'a>
impl<'a> Move for PathGroup<'a>
impl<'a> RefUnwindSafe for PathGroup<'a>
impl<'a> Send for PathGroup<'a>
impl<'a> Sync for PathGroup<'a>
impl<'a> Unpin for PathGroup<'a>
impl<'a> UnsafeUnpin for PathGroup<'a>
impl<'a> UnwindSafe for PathGroup<'a>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more