Struct google_appsactivity1::User
[−]
[src]
pub struct User { pub photo: Option<Photo>, pub permission_id: Option<String>, pub is_deleted: Option<bool>, pub is_me: Option<bool>, pub name: Option<String>, }
A representation of a user.
This type is not used in any activity, and only used as part of another schema.
Fields
photo: Option<Photo>
The profile photo of the user. Not present if the user has no profile photo.
permission_id: Option<String>
The permission ID associated with this user. Equivalent to the Drive API's permission ID for this user, returned as part of the Drive Permissions resource.
is_deleted: Option<bool>
A boolean which indicates whether the specified User was deleted. If true, name, photo and permission_id will be omitted.
is_me: Option<bool>
Whether the user is the authenticated user.
name: Option<String>
The displayable name of the user.
Trait Implementations
impl Default for User
[src]
impl Clone for User
[src]
fn clone(&self) -> User
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more