pub enum QueryLeaf {
Field {
field: String,
matcher: IrMatcher,
},
Keyword(IrMatcher),
}Expand description
One resolved leaf predicate.
Variants§
Field
A field-bound match (field: matcher).
Keyword(IrMatcher)
A field-less keyword / free-text match.
Trait Implementations§
impl StructuralPartialEq for QueryLeaf
Auto Trait Implementations§
impl Freeze for QueryLeaf
impl RefUnwindSafe for QueryLeaf
impl Send for QueryLeaf
impl Sync for QueryLeaf
impl Unpin for QueryLeaf
impl UnsafeUnpin for QueryLeaf
impl UnwindSafe for QueryLeaf
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