pub enum Operator {
Or,
And,
}
Expand description
Boolean logic used to interpret text in the query
value
Variants§
Or
For example, a query
value of capital of Hungary
is interpreted as
capital OR of OR Hungary
.
And
For example, a query
value of capital of Hungary
is interpreted as
capital AND of AND Hungary
.
Trait Implementations§
impl Eq for Operator
impl StructuralPartialEq for Operator
Auto Trait Implementations§
impl Freeze for Operator
impl RefUnwindSafe for Operator
impl Send for Operator
impl Sync for Operator
impl Unpin for Operator
impl UnwindSafe for Operator
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