[][src]Struct google_appsactivity1::User

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 Clone for User[src]

impl Debug for User[src]

impl Default for User[src]

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

impl Part 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.

impl<T> Typeable for T where
    T: Any