Struct google_drive2::api::User [−][src]
pub struct User {
pub display_name: Option<String>,
pub email_address: Option<String>,
pub is_authenticated_user: Option<bool>,
pub kind: Option<String>,
pub permission_id: Option<String>,
pub picture: Option<UserPicture>,
}
Expand description
Information about a Drive user.
This type is not used in any activity, and only used as part of another schema.
Fields
display_name: Option<String>
A plain text displayable name for this user.
email_address: Option<String>
The email address of the user.
is_authenticated_user: Option<bool>
Whether this user is the same as the authenticated user for whom the request was made.
kind: Option<String>
This is always drive#user.
permission_id: Option<String>
The user’s ID as visible in the permissions collection.
picture: Option<UserPicture>
The user’s profile picture.
Trait Implementations
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for User
impl UnwindSafe for User
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more