pub struct MultiMatchQuery { /* private fields */ }Implementations§
source§impl MultiMatchQuery
 
impl MultiMatchQuery
pub fn new(fields: Vec<String>, query: &str) -> MultiMatchQuery
pub fn set_fields(&mut self, fields: Vec<String>)
pub fn set_query(&mut self, query: &str)
pub fn set_fuzziness(&mut self, fuzziness: &str)
pub fn set_type(&mut self, search_type: &str)
pub fn set_boost(self, boost: f64) -> MultiMatchQuery
Trait Implementations§
source§impl Default for MultiMatchQuery
 
impl Default for MultiMatchQuery
source§fn default() -> MultiMatchQuery
 
fn default() -> MultiMatchQuery
Returns the “default value” for a type. Read more
source§impl QueryTrait for MultiMatchQuery
 
impl QueryTrait for MultiMatchQuery
source§impl Serialize for MultiMatchQuery
 
impl Serialize for MultiMatchQuery
source§fn serialize<S>(
    &self,
    serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
    S: Serializer,
 
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for MultiMatchQuery
impl Send for MultiMatchQuery
impl Sync for MultiMatchQuery
impl Unpin for MultiMatchQuery
impl UnwindSafe for MultiMatchQuery
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