pub struct DuplicationGrouping {
pub mode: &'static str,
pub groups: Vec<DuplicationGroup>,
}Expand description
Wrapper carrying the resolver mode label and grouped buckets.
Fields§
§mode: &'static strResolver mode label ("owner", "directory", "package", "section").
groups: Vec<DuplicationGroup>One bucket per resolver key.
Trait Implementations§
Source§impl Clone for DuplicationGrouping
impl Clone for DuplicationGrouping
Source§impl Debug for DuplicationGrouping
impl Debug for DuplicationGrouping
Auto Trait Implementations§
impl Freeze for DuplicationGrouping
impl RefUnwindSafe for DuplicationGrouping
impl Send for DuplicationGrouping
impl Sync for DuplicationGrouping
impl Unpin for DuplicationGrouping
impl UnsafeUnpin for DuplicationGrouping
impl UnwindSafe for DuplicationGrouping
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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