pub enum MatchSearchModifier {
NaturalLanguage,
NaturalLanguageQueryExpansion,
Boolean,
QueryExpansion,
}Expand description
The optional search modifier of a MySQL StringFunc::MatchAgainst — one of the
four documented full-text combinations. WITH QUERY EXPANSION combines only with
the (implicit or explicit) natural-language mode; IN BOOLEAN MODE WITH QUERY EXPANSION parse-rejects (engine-verified).
Variants§
NaturalLanguage
IN NATURAL LANGUAGE MODE.
NaturalLanguageQueryExpansion
IN NATURAL LANGUAGE MODE WITH QUERY EXPANSION.
Boolean
IN BOOLEAN MODE.
QueryExpansion
WITH QUERY EXPANSION.
Trait Implementations§
Source§impl Clone for MatchSearchModifier
impl Clone for MatchSearchModifier
Source§fn clone(&self) -> MatchSearchModifier
fn clone(&self) -> MatchSearchModifier
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MatchSearchModifier
Source§impl Debug for MatchSearchModifier
impl Debug for MatchSearchModifier
Source§impl<'de> Deserialize<'de> for MatchSearchModifier
impl<'de> Deserialize<'de> for MatchSearchModifier
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
impl Eq for MatchSearchModifier
Source§impl Hash for MatchSearchModifier
impl Hash for MatchSearchModifier
Source§impl PartialEq for MatchSearchModifier
impl PartialEq for MatchSearchModifier
Source§impl Render for MatchSearchModifier
impl Render for MatchSearchModifier
Source§fn render(&self, _ctx: &RenderCtx<'_>, f: &mut Formatter<'_>) -> Result
fn render(&self, _ctx: &RenderCtx<'_>, f: &mut Formatter<'_>) -> Result
Return the render for this value.
Source§fn operand_binding_power(&self) -> Option<BindingPower>
fn operand_binding_power(&self) -> Option<BindingPower>
The binding power this node contributes when it appears as an operand, or
None (the default) for a self-delimiting node — an atom, call, or
constructor — that never needs parentheses. Read moreSource§impl Serialize for MatchSearchModifier
impl Serialize for MatchSearchModifier
impl StructuralPartialEq for MatchSearchModifier
Auto Trait Implementations§
impl Freeze for MatchSearchModifier
impl RefUnwindSafe for MatchSearchModifier
impl Send for MatchSearchModifier
impl Sync for MatchSearchModifier
impl Unpin for MatchSearchModifier
impl UnsafeUnpin for MatchSearchModifier
impl UnwindSafe for MatchSearchModifier
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