pub enum SearchMatchType {
Filename,
Content,
Both,
}
Available on crate features
sync_routes
and dbx_files
only.Expand description
Indicates what type of match was found for a given item.
Variants§
Filename
This item was matched on its file or folder name.
Content
This item was matched based on its file contents.
Both
This item was matched based on both its contents and its file name.
Trait Implementations§
Source§impl Clone for SearchMatchType
impl Clone for SearchMatchType
Source§fn clone(&self) -> SearchMatchType
fn clone(&self) -> SearchMatchType
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 SearchMatchType
impl Debug for SearchMatchType
Source§impl<'de> Deserialize<'de> for SearchMatchType
impl<'de> Deserialize<'de> for SearchMatchType
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SearchMatchType
impl PartialEq for SearchMatchType
Source§impl Serialize for SearchMatchType
impl Serialize for SearchMatchType
impl Eq for SearchMatchType
impl StructuralPartialEq for SearchMatchType
Auto Trait Implementations§
impl Freeze for SearchMatchType
impl RefUnwindSafe for SearchMatchType
impl Send for SearchMatchType
impl Sync for SearchMatchType
impl Unpin for SearchMatchType
impl UnwindSafe for SearchMatchType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.