[][src]Struct algoliasearch::index::SearchQueryBuilder

pub struct SearchQueryBuilder { /* fields omitted */ }

Builder for SearchQuery.

Methods

impl SearchQueryBuilder[src]

pub fn query<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self[src]

pub fn attributes_to_retrieve<VALUE: Into<Option<Vec<String>>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn restrict_searchable_attributes<VALUE: Into<Option<Vec<String>>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn page<VALUE: Into<Option<u64>>>(&mut self, value: VALUE) -> &mut Self[src]

pub fn hits_per_page<VALUE: Into<Option<u64>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn offset<VALUE: Into<Option<u64>>>(&mut self, value: VALUE) -> &mut Self[src]

pub fn length<VALUE: Into<Option<u64>>>(&mut self, value: VALUE) -> &mut Self[src]

pub fn build(&self) -> Result<SearchQuery, String>[src]

Builds a new SearchQuery.

Errors

If a required field has not been initialized.

Trait Implementations

impl Clone for SearchQueryBuilder[src]

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

Performs copy-assignment from source. Read more

impl Default for SearchQueryBuilder[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From for T[src]

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

type Owned = T

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto 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> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T