pub struct QueryString { /* private fields */ }
Implementations§
Source§impl QueryString
impl QueryString
pub fn new() -> Self
pub fn value<T: Into<String>>(self, value: T) -> Self
pub fn query<T: Into<String>>(self, query: T) -> Self
pub fn default_field<T: Into<String>>(self, default_field: T) -> Self
pub fn query_type<T: Into<Type>>(self, typ: T) -> Self
pub fn fuzziness<T: Into<Fuzziness>>(self, fuzziness: T) -> Self
pub fn fuzzy_transpositions(self, fuzzy_transpositions: bool) -> Self
pub fn fuzzy_max_expansions<T: Into<u64>>(self, fuzzy_max_expansions: T) -> Self
pub fn fuzzy_prefix_length<T: Into<u64>>(self, fuzzy_prefix_length: T) -> Self
pub fn minimum_should_match<T: Into<String>>( self, minimum_should_match: T, ) -> Self
pub fn default_operator<T: Into<Operator>>(self, default_operator: T) -> Self
pub fn analyzer<T: Into<String>>(self, analyzer: T) -> Self
pub fn lenient(self, lenient: bool) -> Self
pub fn boost<T: Into<f64>>(self, boost: T) -> Self
pub fn allow_leading_wildcard(self, allow_leading_wildcard: bool) -> Self
pub fn enable_position_increments( self, enable_position_increments: bool, ) -> Self
pub fn phrase_slop<T: Into<u64>>(self, phrase_slop: T) -> Self
pub fn max_determinized_states<T: Into<u64>>( self, max_determinized_states: T, ) -> Self
pub fn time_zone<T: Into<String>>(self, time_zone: T) -> Self
pub fn quote_field_suffix<T: Into<String>>(self, quote_field_suffix: T) -> Self
pub fn quote_analyzer<T: Into<String>>(self, quote_analyzer: T) -> Self
pub fn analyze_wildcard(self, analyze_wildcard: bool) -> Self
pub fn auto_generate_synonyms_phrase_query( self, auto_generate_synonyms_phrase_query: bool, ) -> Self
Trait Implementations§
Source§impl Clone for QueryString
impl Clone for QueryString
Source§fn clone(&self) -> QueryString
fn clone(&self) -> QueryString
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for QueryString
impl Debug for QueryString
Source§impl Default for QueryString
impl Default for QueryString
Source§fn default() -> QueryString
fn default() -> QueryString
Returns the “default value” for a type. Read more
Source§impl From<QueryString> for QueryField
impl From<QueryString> for QueryField
Source§fn from(val: QueryString) -> Self
fn from(val: QueryString) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for QueryString
impl RefUnwindSafe for QueryString
impl Send for QueryString
impl Sync for QueryString
impl Unpin for QueryString
impl UnwindSafe for QueryString
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more