pub struct Terms { /* private fields */ }
Implementations§
Source§impl Terms
impl Terms
pub fn new_with_terms_query<F, T, K>(field_name: K, values: F) -> Self
pub fn new_with_terms_lookup<T: Into<String>>( field_name: T, values: TermsLookup, ) -> Self
pub fn boost(self, boost: f64) -> Self
Trait Implementations§
Source§impl From<Terms> for QueryField
impl From<Terms> for QueryField
Auto Trait Implementations§
impl Freeze for Terms
impl RefUnwindSafe for Terms
impl Send for Terms
impl Sync for Terms
impl Unpin for Terms
impl UnwindSafe for Terms
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