pub enum IndexingHint {
Index,
NoIndex,
NoImageIndex,
NoSnippet,
}Expand description
Search indexing intent for a page.
Variants§
Index
The page may be indexed.
NoIndex
The page should not be indexed.
NoImageIndex
Images on the page should not be indexed.
NoSnippet
Snippets should not be shown.
Implementations§
Trait Implementations§
Source§impl Clone for IndexingHint
impl Clone for IndexingHint
Source§fn clone(&self) -> IndexingHint
fn clone(&self) -> IndexingHint
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 moreSource§impl Debug for IndexingHint
impl Debug for IndexingHint
Source§impl Hash for IndexingHint
impl Hash for IndexingHint
Source§impl Ord for IndexingHint
impl Ord for IndexingHint
Source§fn cmp(&self, other: &IndexingHint) -> Ordering
fn cmp(&self, other: &IndexingHint) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for IndexingHint
impl PartialEq for IndexingHint
Source§fn eq(&self, other: &IndexingHint) -> bool
fn eq(&self, other: &IndexingHint) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for IndexingHint
impl PartialOrd for IndexingHint
impl Copy for IndexingHint
impl Eq for IndexingHint
impl StructuralPartialEq for IndexingHint
Auto Trait Implementations§
impl Freeze for IndexingHint
impl RefUnwindSafe for IndexingHint
impl Send for IndexingHint
impl Sync for IndexingHint
impl Unpin for IndexingHint
impl UnsafeUnpin for IndexingHint
impl UnwindSafe for IndexingHint
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