[][src]Struct google_drive::User

pub struct User {
    pub me: Option<bool>,
    pub kind: Option<String>,
    pub display_name: Option<String>,
    pub photo_link: 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

me: Option<bool>

Whether this user is the requesting user.

kind: Option<String>

Identifies what kind of resource this is. Value: the fixed string "drive#user".

display_name: Option<String>

A plain text displayable name for this user.

photo_link: Option<String>

A link to the user's profile photo, if available.

email_address: Option<String>

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.

permission_id: Option<String>

The user's ID as visible in Permission resources.

Trait Implementations

impl Clone for User[src]

impl Debug for User[src]

impl Default for User[src]

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

impl Serialize for User[src]

Auto Trait Implementations

impl RefUnwindSafe for User

impl Send for User

impl Sync for User

impl Unpin for User

impl UnwindSafe for User

Blanket Implementations

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

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

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

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

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 = Infallible

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.