Skip to main content

FullTextSearchConfigBuilder

Trait FullTextSearchConfigBuilder 

Source
pub trait FullTextSearchConfigBuilder: FullTextSearchConfig {
    // Required methods
    fn new_with_query(query: String) -> Self;
    fn apply_language(self, language: Option<String>) -> Self;
    fn apply_rank(self, include_rank: Option<bool>) -> Self;

    // Provided methods
    fn apply_fuzzy(self, _enable_fuzzy: Option<bool>) -> Self
       where Self: Sized { ... }
    fn apply_fuzzy_threshold(self, _threshold: Option<f64>) -> Self
       where Self: Sized { ... }
}

Required Methods§

Source

fn new_with_query(query: String) -> Self

Source

fn apply_language(self, language: Option<String>) -> Self

Source

fn apply_rank(self, include_rank: Option<bool>) -> Self

Provided Methods§

Source

fn apply_fuzzy(self, _enable_fuzzy: Option<bool>) -> Self
where Self: Sized,

Source

fn apply_fuzzy_threshold(self, _threshold: Option<f64>) -> Self
where Self: Sized,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§