[][src]Struct google_admin1_directory::User

pub struct User {
    pub addresses: Option<String>,
    pub posix_accounts: Option<String>,
    pub phones: Option<String>,
    pub locations: Option<String>,
    pub is_delegated_admin: Option<bool>,
    pub thumbnail_photo_etag: Option<String>,
    pub suspended: Option<bool>,
    pub keywords: Option<String>,
    pub kind: Option<String>,
    pub id: Option<String>,
    pub aliases: Option<Vec<String>>,
    pub non_editable_aliases: Option<Vec<String>>,
    pub archived: Option<bool>,
    pub deletion_time: Option<String>,
    pub suspension_reason: Option<String>,
    pub thumbnail_photo_url: Option<String>,
    pub is_enrolled_in2_sv: Option<bool>,
    pub include_in_global_address_list: Option<bool>,
    pub relations: Option<String>,
    pub languages: Option<String>,
    pub is_admin: Option<bool>,
    pub etag: Option<String>,
    pub last_login_time: Option<String>,
    pub customer_id: Option<String>,
    pub org_unit_path: Option<String>,
    pub agreed_to_terms: Option<bool>,
    pub external_ids: Option<String>,
    pub ip_whitelisted: Option<bool>,
    pub ssh_public_keys: Option<String>,
    pub custom_schemas: Option<HashMap<String, UserCustomProperties>>,
    pub is_enforced_in2_sv: Option<bool>,
    pub is_mailbox_setup: Option<bool>,
    pub password: Option<String>,
    pub emails: Option<String>,
    pub organizations: Option<String>,
    pub primary_email: Option<String>,
    pub hash_function: Option<String>,
    pub name: Option<UserName>,
    pub gender: Option<String>,
    pub notes: Option<String>,
    pub creation_time: Option<String>,
    pub websites: Option<String>,
    pub change_password_at_next_login: Option<bool>,
    pub ims: Option<String>,
    pub recovery_email: Option<String>,
    pub recovery_phone: Option<String>,
}

JSON template for User object in Directory API.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

addresses: Option<String>

no description provided

posix_accounts: Option<String>

no description provided

phones: Option<String>

no description provided

locations: Option<String>

no description provided

is_delegated_admin: Option<bool>

Boolean indicating if the user is delegated admin (Read-only)

thumbnail_photo_etag: Option<String>

ETag of the user's photo (Read-only)

suspended: Option<bool>

Indicates if user is suspended.

keywords: Option<String>

no description provided

kind: Option<String>

Kind of resource this is.

id: Option<String>

Unique identifier of User (Read-only)

aliases: Option<Vec<String>>

List of aliases (Read-only)

non_editable_aliases: Option<Vec<String>>

List of non editable aliases (Read-only)

archived: Option<bool>

Indicates if user is archived.

deletion_time: Option<String>

no description provided

suspension_reason: Option<String>

Suspension reason if user is suspended (Read-only)

thumbnail_photo_url: Option<String>

Photo Url of the user (Read-only)

is_enrolled_in2_sv: Option<bool>

Is enrolled in 2-step verification (Read-only)

include_in_global_address_list: Option<bool>

Boolean indicating if user is included in Global Address List

relations: Option<String>

no description provided

languages: Option<String>

no description provided

is_admin: Option<bool>

Boolean indicating if the user is admin (Read-only)

etag: Option<String>

ETag of the resource.

last_login_time: Option<String>

User's last login time. (Read-only)

customer_id: Option<String>

CustomerId of User (Read-only)

org_unit_path: Option<String>

OrgUnit of User

agreed_to_terms: Option<bool>

Indicates if user has agreed to terms (Read-only)

external_ids: Option<String>

no description provided

ip_whitelisted: Option<bool>

Boolean indicating if ip is whitelisted

ssh_public_keys: Option<String>

no description provided

custom_schemas: Option<HashMap<String, UserCustomProperties>>

Custom fields of the user.

is_enforced_in2_sv: Option<bool>

Is 2-step verification enforced (Read-only)

is_mailbox_setup: Option<bool>

Is mailbox setup (Read-only)

password: Option<String>

User's password

emails: Option<String>

no description provided

organizations: Option<String>

no description provided

primary_email: Option<String>

username of User

hash_function: Option<String>

Hash function name for password. Supported are MD5, SHA-1 and crypt

name: Option<UserName>

User's name

gender: Option<String>

no description provided

notes: Option<String>

no description provided

creation_time: Option<String>

User's G Suite account creation time. (Read-only)

websites: Option<String>

no description provided

change_password_at_next_login: Option<bool>

Boolean indicating if the user should change password in next login

ims: Option<String>

no description provided

recovery_email: Option<String>

Recovery email of the user.

recovery_phone: Option<String>

Recovery phone of the user. The phone number must be in the E.164 format, starting with the plus sign (+). Example: +16506661212.

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

impl Resource for User[src]

impl ResponseResult 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