pub enum TsConfig {
Simple,
English,
}Expand description
v7.12.1 — supported tokeniser configs.
Variants§
Simple
simple / pg_catalog.simple — lowercase + split, no
stopword drop, no stem.
English
english / pg_catalog.english — lowercase + split +
stopword drop + Porter v1 stem.
Implementations§
Trait Implementations§
impl Copy for TsConfig
impl Eq for TsConfig
impl StructuralPartialEq for TsConfig
Auto Trait Implementations§
impl Freeze for TsConfig
impl RefUnwindSafe for TsConfig
impl Send for TsConfig
impl Sync for TsConfig
impl Unpin for TsConfig
impl UnsafeUnpin for TsConfig
impl UnwindSafe for TsConfig
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