Struct rs_es::query::BoolFilter [] [src]

pub struct BoolFilter {
    // some fields omitted
}

Methods

impl BoolFilter

fn with_must<T: Into<Vec<Filter>>>(self, value: T) -> Self

fn with_must_not<T: Into<Vec<Filter>>>(self, value: T) -> Self

fn with_should<T: Into<Vec<Filter>>>(self, value: T) -> Self

fn with_cache<T: Into<bool>>(self, value: T) -> Self

fn with_cache_key<T: Into<String>>(self, value: T) -> Self

fn with_name<T: Into<String>>(self, value: T) -> Self

fn build(self) -> Filter

Trait Implementations

impl ToJson for BoolFilter

fn to_json(&self) -> Json

Derived Implementations

impl Debug for BoolFilter

fn fmt(&self, __arg_0: &mut Formatter) -> Result