Struct dropbox_sdk::files::SearchOptions  [−][src]
This is supported on crate feature 
dbx_files only.Fields (Non-exhaustive)
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional 
Struct {{ .. }} syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.path: Option<PathROrId>Scopes the search to a path in the user’s Dropbox. Searches the entire Dropbox if not specified.
max_results: u64The maximum number of search results to return.
order_by: Option<SearchOrderBy>Specified property of the order of search results. By default, results are sorted by relevance.
file_status: FileStatusRestricts search to the given file status.
filename_only: boolRestricts search to only match on filenames.
file_extensions: Option<Vec<String>>Restricts search to only the extensions specified. Only supported for active file search.
file_categories: Option<Vec<FileCategory>>Restricts search to only the file categories specified. Only supported for active file search.
Implementations
impl SearchOptions[src]
pub fn with_path(self, value: PathROrId) -> Self[src]
pub fn with_max_results(self, value: u64) -> Self[src]
pub fn with_order_by(self, value: SearchOrderBy) -> Self[src]
pub fn with_file_status(self, value: FileStatus) -> Self[src]
pub fn with_filename_only(self, value: bool) -> Self[src]
pub fn with_file_extensions(self, value: Vec<String>) -> Self[src]
pub fn with_file_categories(self, value: Vec<FileCategory>) -> Self[src]
Trait Implementations
impl Clone for SearchOptions[src]
fn clone(&self) -> SearchOptions[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for SearchOptions[src]
impl Default for SearchOptions[src]
impl<'de> Deserialize<'de> for SearchOptions[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>[src]
impl PartialEq<SearchOptions> for SearchOptions[src]
fn eq(&self, other: &SearchOptions) -> bool[src]
fn ne(&self, other: &SearchOptions) -> bool[src]
impl Serialize for SearchOptions[src]
impl StructuralPartialEq for SearchOptions[src]
Auto Trait Implementations
impl RefUnwindSafe for SearchOptions
impl Send for SearchOptions
impl Sync for SearchOptions
impl Unpin for SearchOptions
impl UnwindSafe for SearchOptions
Blanket Implementations
impl<T> Any for T where
    T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
    T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
    T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
    U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
    T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
    U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, [src]
U: TryFrom<T>,