Struct EducationUser

Source
pub struct EducationUser {
Show 32 fields pub primary_role: EducationUserRole, pub middle_name: String, pub external_source: EducationExternalSource, pub residence_address: PhysicalAddress, pub mailing_address: PhysicalAddress, pub student: EducationStudent, pub teacher: EducationTeacher, pub created_by: IdentitySet, pub account_enabled: bool, pub assigned_licenses: Vec<AssignedLicense>, pub assigned_plans: Vec<AssignedPlan>, pub business_phones: Vec<String>, pub department: String, pub display_name: String, pub given_name: String, pub mail: String, pub mail_nickname: String, pub mobile_phone: String, pub password_policies: String, pub password_profile: PasswordProfile, pub office_location: String, pub preferred_language: String, pub provisioned_plans: Vec<ProvisionedPlan>, pub refresh_tokens_valid_from_date_time: String, pub show_in_address_list: bool, pub surname: String, pub usage_location: String, pub user_principal_name: String, pub user_type: String, pub schools: Vec<EducationSchool>, pub classes: Vec<EducationClass>, pub user: User,
}

Fields§

§primary_role: EducationUserRole§middle_name: String§external_source: EducationExternalSource§residence_address: PhysicalAddress§mailing_address: PhysicalAddress§student: EducationStudent§teacher: EducationTeacher§created_by: IdentitySet§account_enabled: bool§assigned_licenses: Vec<AssignedLicense>§assigned_plans: Vec<AssignedPlan>§business_phones: Vec<String>§department: String§display_name: String§given_name: String§mail: String§mail_nickname: String§mobile_phone: String§password_policies: String§password_profile: PasswordProfile§office_location: String§preferred_language: String§provisioned_plans: Vec<ProvisionedPlan>§refresh_tokens_valid_from_date_time: String§show_in_address_list: bool§surname: String§usage_location: String§user_principal_name: String§user_type: String§schools: Vec<EducationSchool>§classes: Vec<EducationClass>§user: User

Trait Implementations§

Source§

impl Clone for EducationUser

Source§

fn clone(&self) -> EducationUser

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for EducationUser

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for EducationUser

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for EducationUser

Source§

fn eq(&self, other: &EducationUser) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for EducationUser

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Eq for EducationUser

Source§

impl StructuralPartialEq for EducationUser

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

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