[][src]Struct graph_rs_types::entitytypes::User

pub struct User {
    pub account_enabled: bool,
    pub age_group: String,
    pub assigned_licenses: Vec<AssignedLicense>,
    pub assigned_plans: Vec<AssignedPlan>,
    pub business_phones: Vec<String>,
    pub city: String,
    pub company_name: String,
    pub consent_provided_for_minor: String,
    pub country: String,
    pub department: String,
    pub display_name: String,
    pub employee_id: String,
    pub fax_number: String,
    pub given_name: String,
    pub im_addresses: Vec<String>,
    pub is_resource_account: bool,
    pub job_title: String,
    pub legal_age_group_classification: String,
    pub license_assignment_states: Vec<LicenseAssignmentState>,
    pub mail: String,
    pub mail_nickname: String,
    pub mobile_phone: String,
    pub on_premises_distinguished_name: String,
    pub on_premises_extension_attributes: OnPremisesExtensionAttributes,
    pub on_premises_immutable_id: String,
    pub on_premises_last_sync_date_time: String,
    pub on_premises_provisioning_errors: Vec<OnPremisesProvisioningError>,
    pub on_premises_security_identifier: String,
    pub on_premises_sync_enabled: bool,
    pub on_premises_domain_name: String,
    pub on_premises_sam_account_name: String,
    pub on_premises_user_principal_name: String,
    pub other_mails: Vec<String>,
    pub password_policies: String,
    pub password_profile: PasswordProfile,
    pub office_location: String,
    pub postal_code: String,
    pub preferred_language: String,
    pub provisioned_plans: Vec<ProvisionedPlan>,
    pub proxy_addresses: Vec<String>,
    pub show_in_address_list: bool,
    pub sign_in_sessions_valid_from_date_time: String,
    pub state: String,
    pub street_address: String,
    pub surname: String,
    pub usage_location: String,
    pub user_principal_name: String,
    pub user_type: String,
    pub mailbox_settings: MailboxSettings,
    pub about_me: String,
    pub birthday: String,
    pub hire_date: String,
    pub interests: Vec<String>,
    pub my_site: String,
    pub past_projects: Vec<String>,
    pub preferred_name: String,
    pub responsibilities: Vec<String>,
    pub schools: Vec<String>,
    pub skills: Vec<String>,
    pub device_enrollment_limit: i32,
    pub owned_devices: Vec<DirectoryObject>,
    pub registered_devices: Vec<DirectoryObject>,
    pub manager: DirectoryObject,
    pub direct_reports: Vec<DirectoryObject>,
    pub member_of: Vec<DirectoryObject>,
    pub created_objects: Vec<DirectoryObject>,
    pub owned_objects: Vec<DirectoryObject>,
    pub license_details: Vec<LicenseDetails>,
    pub transitive_member_of: Vec<DirectoryObject>,
    pub extensions: Vec<Extension>,
    pub outlook: OutlookUser,
    pub messages: Vec<Message>,
    pub mail_folders: Vec<MailFolder>,
    pub calendar: Calendar,
    pub calendars: Vec<Calendar>,
    pub calendar_groups: Vec<CalendarGroup>,
    pub calendar_view: Vec<Event>,
    pub events: Vec<Event>,
    pub people: Vec<Person>,
    pub contacts: Vec<Contact>,
    pub contact_folders: Vec<ContactFolder>,
    pub inference_classification: InferenceClassification,
    pub photo: ProfilePhoto,
    pub photos: Vec<ProfilePhoto>,
    pub drive: Drive,
    pub drives: Vec<Drive>,
    pub planner: PlannerUser,
    pub onenote: Onenote,
    pub managed_devices: Vec<ManagedDevice>,
    pub managed_app_registrations: Vec<ManagedAppRegistration>,
    pub device_management_troubleshooting_events: Vec<DeviceManagementTroubleshootingEvent>,
    pub activities: Vec<UserActivity>,
    pub insights: OfficeGraphInsights,
    pub settings: UserSettings,
    pub joined_teams: Vec<Group>,
}

Fields

account_enabled: boolage_group: Stringassigned_licenses: Vec<AssignedLicense>assigned_plans: Vec<AssignedPlan>business_phones: Vec<String>city: Stringcompany_name: Stringconsent_provided_for_minor: Stringcountry: Stringdepartment: Stringdisplay_name: Stringemployee_id: Stringfax_number: Stringgiven_name: Stringim_addresses: Vec<String>is_resource_account: booljob_title: Stringlegal_age_group_classification: Stringlicense_assignment_states: Vec<LicenseAssignmentState>mail: Stringmail_nickname: Stringmobile_phone: Stringon_premises_distinguished_name: Stringon_premises_extension_attributes: OnPremisesExtensionAttributeson_premises_immutable_id: Stringon_premises_last_sync_date_time: Stringon_premises_provisioning_errors: Vec<OnPremisesProvisioningError>on_premises_security_identifier: Stringon_premises_sync_enabled: boolon_premises_domain_name: Stringon_premises_sam_account_name: Stringon_premises_user_principal_name: Stringother_mails: Vec<String>password_policies: Stringpassword_profile: PasswordProfileoffice_location: Stringpostal_code: Stringpreferred_language: Stringprovisioned_plans: Vec<ProvisionedPlan>proxy_addresses: Vec<String>show_in_address_list: boolsign_in_sessions_valid_from_date_time: Stringstate: Stringstreet_address: Stringsurname: Stringusage_location: Stringuser_principal_name: Stringuser_type: Stringmailbox_settings: MailboxSettingsabout_me: Stringbirthday: Stringhire_date: Stringinterests: Vec<String>my_site: Stringpast_projects: Vec<String>preferred_name: Stringresponsibilities: Vec<String>schools: Vec<String>skills: Vec<String>device_enrollment_limit: i32owned_devices: Vec<DirectoryObject>registered_devices: Vec<DirectoryObject>manager: DirectoryObjectdirect_reports: Vec<DirectoryObject>member_of: Vec<DirectoryObject>created_objects: Vec<DirectoryObject>owned_objects: Vec<DirectoryObject>license_details: Vec<LicenseDetails>transitive_member_of: Vec<DirectoryObject>extensions: Vec<Extension>outlook: OutlookUsermessages: Vec<Message>mail_folders: Vec<MailFolder>calendar: Calendarcalendars: Vec<Calendar>calendar_groups: Vec<CalendarGroup>calendar_view: Vec<Event>events: Vec<Event>people: Vec<Person>contacts: Vec<Contact>contact_folders: Vec<ContactFolder>inference_classification: InferenceClassificationphoto: ProfilePhotophotos: Vec<ProfilePhoto>drive: Drivedrives: Vec<Drive>planner: PlannerUseronenote: Onenotemanaged_devices: Vec<ManagedDevice>managed_app_registrations: Vec<ManagedAppRegistration>device_management_troubleshooting_events: Vec<DeviceManagementTroubleshootingEvent>activities: Vec<UserActivity>insights: OfficeGraphInsightssettings: UserSettingsjoined_teams: Vec<Group>

Trait Implementations

impl Eq for User[src]

impl Clone for User[src]

impl PartialEq<User> 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 Unpin for User

impl Sync for User

impl RefUnwindSafe for User

impl UnwindSafe for User

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

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