pub struct MatchQuery { /* private fields */ }
Implementations§
Source§impl MatchQuery
impl MatchQuery
pub fn new(field: &str, query: &str) -> MatchQuery
pub fn set_boost(self, boost: f64) -> MatchQuery
Trait Implementations§
Source§impl Default for MatchQuery
impl Default for MatchQuery
Source§fn default() -> MatchQuery
fn default() -> MatchQuery
Returns the “default value” for a type. Read more
Source§impl QueryTrait for MatchQuery
impl QueryTrait for MatchQuery
Auto Trait Implementations§
impl Freeze for MatchQuery
impl RefUnwindSafe for MatchQuery
impl Send for MatchQuery
impl Sync for MatchQuery
impl Unpin for MatchQuery
impl UnwindSafe for MatchQuery
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