pub struct SearchFilesRequest<'a> {
pub path: &'a str,
pub keyword: &'a str,
pub case_folding: bool,
pub page: Option<u32>,
pub page_size: Option<u32>,
pub next_page_token: Option<&'a str>,
}Expand description
Search files request
Search runs through the same endpoint as listing; what turns it into a
search is the URI’s own query string, built by
crate::api::v4::uri::search_uri.
Fields§
§path: &'a strFolder to search under; empty or “/” covers the whole drive
keyword: &'a strName fragment to look for
case_folding: boolMatch regardless of letter case
page: Option<u32>§page_size: Option<u32>§next_page_token: Option<&'a str>Trait Implementations§
Source§impl<'a> Debug for SearchFilesRequest<'a>
impl<'a> Debug for SearchFilesRequest<'a>
Source§impl<'a> Default for SearchFilesRequest<'a>
impl<'a> Default for SearchFilesRequest<'a>
Source§fn default() -> SearchFilesRequest<'a>
fn default() -> SearchFilesRequest<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for SearchFilesRequest<'a>
impl<'a> RefUnwindSafe for SearchFilesRequest<'a>
impl<'a> Send for SearchFilesRequest<'a>
impl<'a> Sync for SearchFilesRequest<'a>
impl<'a> Unpin for SearchFilesRequest<'a>
impl<'a> UnsafeUnpin for SearchFilesRequest<'a>
impl<'a> UnwindSafe for SearchFilesRequest<'a>
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