[−][src]Struct dropbox_sdk::files::SearchArg
Fields
path: PathROrId
The path in the user's Dropbox to search. Should probably be a folder.
query: String
The string to search for. The search string is split on spaces into multiple tokens. For file name searching, the last token is used for prefix matching (i.e. "bat c" matches "bat cave" but not "batman car").
start: u64
The starting index within the search results (used for paging).
max_results: u64
The maximum number of search results to return.
mode: SearchMode
The search mode (filename, filename_and_content, or deleted_filename). Note that searching file content is only available for Dropbox Business accounts.
Methods
impl SearchArg
[src]
pub fn new(path: PathROrId, query: String) -> Self
[src]
pub fn with_start(self, value: u64) -> Self
[src]
pub fn with_max_results(self, value: u64) -> Self
[src]
pub fn with_mode(self, value: SearchMode) -> Self
[src]
Trait Implementations
impl Debug for SearchArg
[src]
impl Serialize for SearchArg
[src]
impl<'de> Deserialize<'de> for SearchArg
[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
[src]
Auto Trait Implementations
impl Unpin for SearchArg
impl Sync for SearchArg
impl Send for SearchArg
impl UnwindSafe for SearchArg
impl RefUnwindSafe for SearchArg
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for 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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,