pub enum TsQueryMode {
Standard,
Plain,
Web,
}Expand description
The tokenizer of parse_tsquery.
Variants§
Standard
gettoken_query_standard: the syntax of tsqueryin and to_tsquery.
Plain
gettoken_query_plain: the whole text is one operand, for plainto_tsquery and phraseto_tsquery.
Web
gettoken_query_websearch: the syntax of websearch_to_tsquery, with -, or and text in double quotes.
Trait Implementations§
Source§impl Clone for TsQueryMode
impl Clone for TsQueryMode
impl Copy for TsQueryMode
Source§impl Debug for TsQueryMode
impl Debug for TsQueryMode
impl Eq for TsQueryMode
Source§impl PartialEq for TsQueryMode
impl PartialEq for TsQueryMode
impl StructuralPartialEq for TsQueryMode
Auto Trait Implementations§
impl Freeze for TsQueryMode
impl RefUnwindSafe for TsQueryMode
impl Send for TsQueryMode
impl Sync for TsQueryMode
impl Unpin for TsQueryMode
impl UnsafeUnpin for TsQueryMode
impl UnwindSafe for TsQueryMode
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