pub struct Fuzzy { /* private fields */ }
Implementations§
Source§impl Fuzzy
impl Fuzzy
pub fn new() -> Self
pub fn field<T: Into<String> + Serialize>(self, field: T) -> Self
pub fn value<T: Into<String> + Serialize>(self, value: T) -> Self
pub fn boost<T: Into<f64> + Serialize>(self, boost: T) -> Self
pub fn fuzziness<T: Into<Fuzziness> + Serialize>(self, fuzziness: T) -> Self
pub fn max_expansions<T: Into<u64> + Serialize>(self, max_expansions: T) -> Self
pub fn prefix_length<T: Into<u64> + Serialize>(self, prefix_length: T) -> Self
pub fn rewrite<T: Into<Rewrite> + Serialize>(self, rewrite: T) -> Self
pub fn transpositions<T: Into<bool> + Serialize>( self, transpositions: T, ) -> Self
Trait Implementations§
Source§impl From<Fuzzy> for QueryField
impl From<Fuzzy> for QueryField
Auto Trait Implementations§
impl Freeze for Fuzzy
impl RefUnwindSafe for Fuzzy
impl Send for Fuzzy
impl Sync for Fuzzy
impl Unpin for Fuzzy
impl UnwindSafe for Fuzzy
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