pub struct FuzzyRule { /* private fields */ }Implementations§
Source§impl FuzzyRule
impl FuzzyRule
pub fn new() -> Self
pub fn term<T: Into<String> + Serialize>(self, term: T) -> Self
pub fn analyzer<T: Into<String> + Serialize>(self, analyzer: T) -> Self
pub fn fuzziness<T: Into<Fuzziness> + Serialize>(self, fuzziness: T) -> Self
pub fn transpositions<T: Into<bool> + Serialize>( self, transpositions: T, ) -> Self
pub fn prefix_length<T: Into<i64> + Serialize>(self, prefix_length: T) -> Self
pub fn use_field<T: Into<String> + Serialize>(self, use_field: T) -> Self
Trait Implementations§
Source§impl From<FuzzyRule> for IntervalRule
impl From<FuzzyRule> for IntervalRule
Auto Trait Implementations§
impl Freeze for FuzzyRule
impl RefUnwindSafe for FuzzyRule
impl Send for FuzzyRule
impl Sync for FuzzyRule
impl Unpin for FuzzyRule
impl UnwindSafe for FuzzyRule
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