[][src]Struct google_drive2::User

pub struct User {
    pub picture: Option<UserPicture>,
    pub kind: Option<String>,
    pub is_authenticated_user: Option<bool>,
    pub display_name: Option<String>,
    pub email_address: Option<String>,
    pub permission_id: Option<String>,
}

Information about a Drive user.

This type is not used in any activity, and only used as part of another schema.

Fields

picture: Option<UserPicture>

The user's profile picture.

kind: Option<String>

This is always drive#user.

is_authenticated_user: Option<bool>

Whether this user is the same as the authenticated user for whom the request was made.

display_name: Option<String>

A plain text displayable name for this user.

email_address: Option<String>

The email address of the user.

permission_id: Option<String>

The user's ID as visible in the permissions collection.

Trait Implementations

impl Part for User[src]

impl Clone for User[src]

impl Default for User[src]

impl Debug for User[src]

impl Serialize for User[src]

impl<'de> Deserialize<'de> for User[src]

Auto Trait Implementations

impl Send for User

impl Sync for User

impl Unpin for User

impl UnwindSafe for User

impl RefUnwindSafe for User

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]