pub enum LabelMatch {
Any,
All,
}Expand description
Matching mode for a multi-label filter.
Variants§
Any
Match an item carrying at least one requested label (OR).
All
Match an item carrying every requested label (AND).
Implementations§
Trait Implementations§
Source§impl Clone for LabelMatch
impl Clone for LabelMatch
Source§fn clone(&self) -> LabelMatch
fn clone(&self) -> LabelMatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LabelMatch
Source§impl Debug for LabelMatch
impl Debug for LabelMatch
Source§impl Default for LabelMatch
impl Default for LabelMatch
Source§fn default() -> LabelMatch
fn default() -> LabelMatch
Returns the “default value” for a type. Read more
impl Eq for LabelMatch
Source§impl PartialEq for LabelMatch
impl PartialEq for LabelMatch
impl StructuralPartialEq for LabelMatch
Auto Trait Implementations§
impl Freeze for LabelMatch
impl RefUnwindSafe for LabelMatch
impl Send for LabelMatch
impl Sync for LabelMatch
impl Unpin for LabelMatch
impl UnsafeUnpin for LabelMatch
impl UnwindSafe for LabelMatch
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> 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