Enum dropbox_sdk::files::SearchMatchType
source · pub enum SearchMatchType {
Filename,
Content,
Both,
}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
Available on crate feature dbx_files only.
impl Clone for SearchMatchType
Available on crate feature
dbx_files only.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
Available on crate feature dbx_files only.
impl Debug for SearchMatchType
Available on crate feature
dbx_files only.source§impl<'de> Deserialize<'de> for SearchMatchType
Available on crate feature dbx_files only.
impl<'de> Deserialize<'de> for SearchMatchType
Available on crate feature
dbx_files only.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
Available on crate feature dbx_files only.
impl PartialEq for SearchMatchType
Available on crate feature
dbx_files only.source§fn eq(&self, other: &SearchMatchType) -> bool
fn eq(&self, other: &SearchMatchType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SearchMatchType
Available on crate feature dbx_files only.
impl Serialize for SearchMatchType
Available on crate feature
dbx_files only.impl Eq for SearchMatchType
Available on crate feature
dbx_files only.impl StructuralEq for SearchMatchType
Available on crate feature
dbx_files only.impl StructuralPartialEq for SearchMatchType
Available on crate feature
dbx_files only.Auto Trait Implementations§
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