pub struct FuzzyConfig {
pub max_edits: u32,
pub prefix_length: u32,
pub max_expansions: u32,
}Expand description
Fuzzy search configuration.
Fields§
§max_edits: u32Maximum edits.
prefix_length: u32Prefix length.
max_expansions: u32Max expansions.
Trait Implementations§
Source§impl Clone for FuzzyConfig
impl Clone for FuzzyConfig
Source§fn clone(&self) -> FuzzyConfig
fn clone(&self) -> FuzzyConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FuzzyConfig
impl Debug for FuzzyConfig
Source§impl Default for FuzzyConfig
impl Default for FuzzyConfig
Source§impl<'de> Deserialize<'de> for FuzzyConfig
impl<'de> Deserialize<'de> for FuzzyConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FuzzyConfig
impl RefUnwindSafe for FuzzyConfig
impl Send for FuzzyConfig
impl Sync for FuzzyConfig
impl Unpin for FuzzyConfig
impl UnwindSafe for FuzzyConfig
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