gapirs-drive-v3 0.0.1

Rust library for Google API drive v0.0.1
Documentation
// This file was generated by code-gen. DO NOT EDIT MANUALLY! 

///A list of files.
#[derive(Debug, Clone, ::serde::Deserialize, ::serde::Serialize)]
pub struct FileList {
    #[serde(rename = "files")]
    ///The list of files. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched.
    pub files: ::alloc::vec::Vec<crate::discovery::schemas::file::File>,
    #[serde(rename = "incompleteSearch")]
    ///Whether the search process was incomplete. If true, then some search results might be missing, since all documents were not searched. This can occur when searching multiple drives with the 'allDrives' corpora, but all corpora couldn't be searched. When this happens, it's suggested that clients narrow their query by choosing a different corpus such as 'user' or 'drive'.
    pub incomplete_search: ::core::primitive::bool,
    #[serde(rename = "kind")]
    ///Identifies what kind of resource this is. Value: the fixed string `"drive#fileList"`.
    pub kind: ::alloc::string::String,
    #[serde(rename = "nextPageToken")]
    ///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. The page token is typically valid for several hours. However, if new items are added or removed, your expected results might differ.
    pub next_page_token: ::alloc::string::String,
}
///A list of files.
#[derive(Debug, Clone, ::serde::Deserialize, ::serde::Serialize, Default)]
pub struct FileListPartial {
    #[serde(rename = "files")]
    #[serde(skip_serializing_if = "::core::option::Option::is_none")]
    ///The list of files. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched.
    pub files: ::core::option::Option<
        ::alloc::vec::Vec<crate::discovery::schemas::file::FilePartial>,
    >,
    #[serde(rename = "incompleteSearch")]
    #[serde(skip_serializing_if = "::core::option::Option::is_none")]
    ///Whether the search process was incomplete. If true, then some search results might be missing, since all documents were not searched. This can occur when searching multiple drives with the 'allDrives' corpora, but all corpora couldn't be searched. When this happens, it's suggested that clients narrow their query by choosing a different corpus such as 'user' or 'drive'.
    pub incomplete_search: ::core::option::Option<::core::primitive::bool>,
    #[serde(rename = "kind")]
    #[serde(skip_serializing_if = "::core::option::Option::is_none")]
    ///Identifies what kind of resource this is. Value: the fixed string `"drive#fileList"`.
    pub kind: ::core::option::Option<::alloc::string::String>,
    #[serde(rename = "nextPageToken")]
    #[serde(skip_serializing_if = "::core::option::Option::is_none")]
    ///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. The page token is typically valid for several hours. However, if new items are added or removed, your expected results might differ.
    pub next_page_token: ::core::option::Option<::alloc::string::String>,
}