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 permissions for a file.
#[derive(Debug, Clone, ::serde::Deserialize, ::serde::Serialize)]
pub struct PermissionList {
    #[serde(rename = "kind")]
    ///Identifies what kind of resource this is. Value: the fixed string `"drive#permissionList"`.
    pub kind: ::alloc::string::String,
    #[serde(rename = "nextPageToken")]
    ///The page token for the next page of permissions. This field will be absent if the end of the permissions 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,
    #[serde(rename = "permissions")]
    ///The list of permissions. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched.
    pub permissions: ::alloc::vec::Vec<
        crate::discovery::schemas::permission::Permission,
    >,
}
///A list of permissions for a file.
#[derive(Debug, Clone, ::serde::Deserialize, ::serde::Serialize, Default)]
pub struct PermissionListPartial {
    #[serde(rename = "kind")]
    #[serde(skip_serializing_if = "::core::option::Option::is_none")]
    ///Identifies what kind of resource this is. Value: the fixed string `"drive#permissionList"`.
    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 permissions. This field will be absent if the end of the permissions 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>,
    #[serde(rename = "permissions")]
    #[serde(skip_serializing_if = "::core::option::Option::is_none")]
    ///The list of permissions. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched.
    pub permissions: ::core::option::Option<
        ::alloc::vec::Vec<crate::discovery::schemas::permission::PermissionPartial>,
    >,
}