pub enum SearchBool {
Or,
And,
}
Expand description
Sets which boolean model is used for searching with
multiple terms. Defaults to Or
.
- AND requires every search term to be present in results
- OR accepts results which have at least one term
Variants§
Trait Implementations§
Source§impl Clone for SearchBool
impl Clone for SearchBool
Source§fn clone(&self) -> SearchBool
fn clone(&self) -> SearchBool
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SearchBool
impl Debug for SearchBool
Source§impl Default for SearchBool
impl Default for SearchBool
Source§impl<'de> Deserialize<'de> for SearchBool
impl<'de> Deserialize<'de> for SearchBool
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
Source§impl PartialEq for SearchBool
impl PartialEq for SearchBool
Source§impl Serialize for SearchBool
impl Serialize for SearchBool
impl Copy for SearchBool
impl Eq for SearchBool
impl StructuralPartialEq for SearchBool
Auto Trait Implementations§
impl Freeze for SearchBool
impl RefUnwindSafe for SearchBool
impl Send for SearchBool
impl Sync for SearchBool
impl Unpin for SearchBool
impl UnwindSafe for SearchBool
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