[][src]Struct dropbox_sdk::files::SearchOptions

pub struct SearchOptions {
    pub path: Option<PathROrId>,
    pub max_results: u64,
    pub file_status: FileStatus,
    pub filename_only: bool,
    pub file_extensions: Option<Vec<String>>,
    pub file_categories: Option<Vec<FileCategory>>,
}

Fields

path: Option<PathROrId>

Scopes the search to a path in the user's Dropbox. Searches the entire Dropbox if not specified.

max_results: u64

The maximum number of search results to return.

file_status: FileStatus

Restricts search to the given file status.

filename_only: bool

Restricts 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.

Trait Implementations

impl Debug for SearchOptions[src]

impl Default for SearchOptions[src]

impl<'de> Deserialize<'de> for SearchOptions[src]

impl Serialize for SearchOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any