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! 

///Information about a Drive user.
#[derive(Debug, Clone, ::serde::Deserialize, ::serde::Serialize)]
pub struct User {
    #[serde(rename = "displayName")]
    ///Output only. A plain text displayable name for this user.
    pub display_name: ::alloc::string::String,
    #[serde(rename = "emailAddress")]
    ///Output only. The email address of the user. This may not be present in certain contexts if the user has not made their email address visible to the requester.
    pub email_address: ::alloc::string::String,
    #[serde(rename = "kind")]
    ///Output only. Identifies what kind of resource this is. Value: the fixed string `drive#user`.
    pub kind: ::alloc::string::String,
    #[serde(rename = "me")]
    ///Output only. Whether this user is the requesting user.
    pub me: ::core::primitive::bool,
    #[serde(rename = "permissionId")]
    ///Output only. The user's ID as visible in Permission resources.
    pub permission_id: ::alloc::string::String,
    #[serde(rename = "photoLink")]
    ///Output only. A link to the user's profile photo, if available.
    pub photo_link: ::alloc::string::String,
}
///Information about a Drive user.
#[derive(Debug, Clone, ::serde::Deserialize, ::serde::Serialize, Default)]
pub struct UserPartial {
    #[serde(rename = "displayName")]
    #[serde(skip_serializing_if = "::core::option::Option::is_none")]
    ///Output only. A plain text displayable name for this user.
    pub display_name: ::core::option::Option<::alloc::string::String>,
    #[serde(rename = "emailAddress")]
    #[serde(skip_serializing_if = "::core::option::Option::is_none")]
    ///Output only. The email address of the user. This may not be present in certain contexts if the user has not made their email address visible to the requester.
    pub email_address: ::core::option::Option<::alloc::string::String>,
    #[serde(rename = "kind")]
    #[serde(skip_serializing_if = "::core::option::Option::is_none")]
    ///Output only. Identifies what kind of resource this is. Value: the fixed string `drive#user`.
    pub kind: ::core::option::Option<::alloc::string::String>,
    #[serde(rename = "me")]
    #[serde(skip_serializing_if = "::core::option::Option::is_none")]
    ///Output only. Whether this user is the requesting user.
    pub me: ::core::option::Option<::core::primitive::bool>,
    #[serde(rename = "permissionId")]
    #[serde(skip_serializing_if = "::core::option::Option::is_none")]
    ///Output only. The user's ID as visible in Permission resources.
    pub permission_id: ::core::option::Option<::alloc::string::String>,
    #[serde(rename = "photoLink")]
    #[serde(skip_serializing_if = "::core::option::Option::is_none")]
    ///Output only. A link to the user's profile photo, if available.
    pub photo_link: ::core::option::Option<::alloc::string::String>,
}