[−][src]Struct gsuite_api::User
A user. FROM: https://developers.google.com/admin-sdk/directory/v1/reference/users#resource
Fields
addresses: Vec<UserAddress>agreed_to_terms: Option<bool>Indicates if user has agreed to terms (read-only)
aliases: Vec<String>List of aliases (read-only)
archived: Option<bool>Indicates if user is archived (read-only)
change_password_at_next_login: boolBoolean indicating if the user should change password in next login
creation_time: Option<DateTime<Utc>>User's G Suite account creation time (read-only)
custom_schemas: HashMap<String, UserCustomProperties>Custom fields of the user
customer_id: StringCustomerId of User (read-only)
deletion_time: Option<DateTime<Utc>>User's G Suite account deletion time (read-only)
emails: Vec<UserEmail>etag: StringETag of the resource (read-only)
external_ids: Vec<UserExternalId>A list of external IDs for the user, such as an employee or network ID. The maximum allowed data size for this field is 2Kb.
gender: Option<UserGender>hash_function: StringHash function name for password. Supported are MD5, SHA-1 and crypt
id: StringUnique identifier of User (read-only)
ims: Vec<UserInstantMessenger>The user's Instant Messenger (IM) accounts. A user account can have multiple ims properties. But, only one of these ims properties can be the primary IM contact. The maximum allowed data size for this field is 2Kb.
include_in_global_address_list: boolBoolean indicating if user is included in Global Address List
ip_whitelisted: boolBoolean indicating if ip is whitelisted
is_admin: Option<bool>Boolean indicating if the user is admin (read-only)
is_delegated_admin: Option<bool>Boolean indicating if the user is delegated admin (read-only)
is_enforced_in2_sv: Option<bool>Is 2-step verification enforced (read-only)
is_enrolled_in2_sv: Option<bool>Is enrolled in 2-step verification (read-only)
is_mailbox_setup: Option<bool>Is mailbox setup (read-only)
keywords: Vec<UserKeyword>The user's keywords. The maximum allowed data size for this field is 1Kb.
kind: StringKind of resource this is (read-only)
languages: Vec<UserLanguage>last_login_time: Option<DateTime<Utc>>User's last login time (read-only)
locations: Vec<UserLocation>name: UserNameUser's name
non_editable_aliases: Vec<String>List of non editable aliases (read-only)
notes: Option<UserNotes>org_unit_path: StringOrgUnit of User
organizations: Vec<Organization>password: StringUser's password
phones: Vec<UserPhone>posix_accounts: Vec<UserPosixAccount>primary_email: Stringrecovery_email: StringRecovery email of the user
recovery_phone: StringRecovery phone of the user
relations: Vec<UserRelation>ssh_public_keys: Vec<UserSSHKey>suspended: boolIndicates if user is suspended
suspension_reason: StringSuspension reason if user is suspended (read-only)
thumbnail_photo_etag: StringETag of the user's photo (read-only)
thumbnail_photo_url: StringPhoto Url of the user (read-only)
websites: Vec<UserWebsite>Trait Implementations
impl Clone for User[src]
impl Debug for User[src]
impl Default for User[src]
impl<'de> Deserialize<'de> for User[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Serialize for User[src]
Auto Trait Implementations
impl RefUnwindSafe for User[src]
impl Send for User[src]
impl Sync for User[src]
impl Unpin for User[src]
impl UnwindSafe for User[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,