pub enum SelectionReason {
Pinned,
Relevant,
}Expand description
Why an item was selected, for introspection and client display.
Variants§
Pinned
User-pinned scope:always memory: bypasses every quality gate.
Relevant
Survived the relevance knee, MMR, and quotas.
Trait Implementations§
Source§impl Clone for SelectionReason
impl Clone for SelectionReason
Source§fn clone(&self) -> SelectionReason
fn clone(&self) -> SelectionReason
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 SelectionReason
Source§impl Debug for SelectionReason
impl Debug for SelectionReason
impl Eq for SelectionReason
Source§impl PartialEq for SelectionReason
impl PartialEq for SelectionReason
impl StructuralPartialEq for SelectionReason
Auto Trait Implementations§
impl Freeze for SelectionReason
impl RefUnwindSafe for SelectionReason
impl Send for SelectionReason
impl Sync for SelectionReason
impl Unpin for SelectionReason
impl UnsafeUnpin for SelectionReason
impl UnwindSafe for SelectionReason
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