[][src]Enum elasticlunr::config::SearchBool

pub enum SearchBool {
    Or,
    And,
}

Sets which boolean model is used for searching with multiple terms. Defaults to Or.

  • AND requires every search term to be present in results
  • OR accepts results which have at least one term

Variants

Or
And

Trait Implementations

impl Clone for SearchBool[src]

impl Copy for SearchBool[src]

impl Debug for SearchBool[src]

impl Default for SearchBool[src]

impl<'de> Deserialize<'de> for SearchBool[src]

impl Eq for SearchBool[src]

impl PartialEq<SearchBool> for SearchBool[src]

impl Serialize for SearchBool[src]

impl StructuralEq for SearchBool[src]

impl StructuralPartialEq for SearchBool[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.