pub struct FileList {
pub etag: Option<String>,
pub incomplete_search: Option<bool>,
pub items: Option<Vec<File>>,
pub kind: Option<String>,
pub next_link: Option<String>,
pub next_page_token: Option<String>,
pub self_link: Option<String>,
}
Expand description
A list of files.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- list files (response)
Fields§
§etag: Option<String>
The ETag of the list.
incomplete_search: Option<bool>
Whether the search process was incomplete. If true, then some search results may be missing, since all documents were not searched. This may occur when searching multiple drives with the “allDrives” corpora, but all corpora could not be searched. When this happens, it is suggested that clients narrow their query by choosing a different corpus such as “default” or “drive”.
items: Option<Vec<File>>
The list of files. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched.
kind: Option<String>
This is always drive#fileList
.
next_link: Option<String>
A link to the next page of files.
next_page_token: Option<String>
The page token for the next page of files. This will be absent if the end of the files list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results.
self_link: Option<String>
A link back to this list.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FileList
impl<'de> Deserialize<'de> for FileList
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl ResponseResult for FileList
Auto Trait Implementations§
impl Freeze for FileList
impl RefUnwindSafe for FileList
impl Send for FileList
impl Sync for FileList
impl Unpin for FileList
impl UnwindSafe for FileList
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more