[][src]Struct elasticlunr::config::SearchOptionsField

pub struct SearchOptionsField {
    pub boost: Option<u8>,
    pub bool: Option<SearchBool>,
    pub expand: Option<bool>,
}

Used to set the search configuration for a specific field. When expand or bool is None, elasticlunr.js will use the value from the global configuration. The boost field, if present, increases the importance of this field when ordering search results.

Fields

boost: Option<u8>bool: Option<SearchBool>expand: Option<bool>

Trait Implementations

impl PartialEq<SearchOptionsField> for SearchOptionsField[src]

impl Copy for SearchOptionsField[src]

impl Eq for SearchOptionsField[src]

impl Default for SearchOptionsField[src]

impl Clone for SearchOptionsField[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for SearchOptionsField[src]

impl Serialize for SearchOptionsField[src]

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

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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

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