Struct ManagedDevice

Source
pub struct ManagedDevice {
Show 49 fields pub user_id: String, pub device_name: String, pub managed_device_owner_type: ManagedDeviceOwnerType, pub device_action_results: Vec<DeviceActionResult>, pub enrolled_date_time: String, pub last_sync_date_time: String, pub operating_system: String, pub compliance_state: ComplianceState, pub jail_broken: String, pub management_agent: ManagementAgentType, pub os_version: String, pub eas_activated: bool, pub eas_device_id: String, pub eas_activation_date_time: String, pub azure_a_d_registered: bool, pub device_enrollment_type: DeviceEnrollmentType, pub activation_lock_bypass_code: String, pub email_address: String, pub azure_a_d_device_id: String, pub device_registration_state: DeviceRegistrationState, pub device_category_display_name: String, pub is_supervised: bool, pub exchange_last_successful_sync_date_time: String, pub exchange_access_state: DeviceManagementExchangeAccessState, pub exchange_access_state_reason: DeviceManagementExchangeAccessStateReason, pub remote_assistance_session_url: String, pub remote_assistance_session_error_details: String, pub is_encrypted: bool, pub user_principal_name: String, pub model: String, pub manufacturer: String, pub imei: String, pub compliance_grace_period_expiration_date_time: String, pub serial_number: String, pub phone_number: String, pub android_security_patch_level: String, pub user_display_name: String, pub configuration_manager_client_enabled_features: ConfigurationManagerClientEnabledFeatures, pub wi_fi_mac_address: String, pub device_health_attestation_state: DeviceHealthAttestationState, pub subscriber_carrier: String, pub meid: String, pub total_storage_space_in_bytes: i64, pub free_storage_space_in_bytes: i64, pub managed_device_name: String, pub partner_reported_threat_state: ManagedDevicePartnerReportedHealthState, pub device_configuration_states: Vec<DeviceConfigurationState>, pub device_category: DeviceCategory, pub device_compliance_policy_states: Vec<DeviceCompliancePolicyState>,
}

Fields§

§user_id: String§device_name: String§managed_device_owner_type: ManagedDeviceOwnerType§device_action_results: Vec<DeviceActionResult>§enrolled_date_time: String§last_sync_date_time: String§operating_system: String§compliance_state: ComplianceState§jail_broken: String§management_agent: ManagementAgentType§os_version: String§eas_activated: bool§eas_device_id: String§eas_activation_date_time: String§azure_a_d_registered: bool§device_enrollment_type: DeviceEnrollmentType§activation_lock_bypass_code: String§email_address: String§azure_a_d_device_id: String§device_registration_state: DeviceRegistrationState§device_category_display_name: String§is_supervised: bool§exchange_last_successful_sync_date_time: String§exchange_access_state: DeviceManagementExchangeAccessState§exchange_access_state_reason: DeviceManagementExchangeAccessStateReason§remote_assistance_session_url: String§remote_assistance_session_error_details: String§is_encrypted: bool§user_principal_name: String§model: String§manufacturer: String§imei: String§compliance_grace_period_expiration_date_time: String§serial_number: String§phone_number: String§android_security_patch_level: String§user_display_name: String§configuration_manager_client_enabled_features: ConfigurationManagerClientEnabledFeatures§wi_fi_mac_address: String§device_health_attestation_state: DeviceHealthAttestationState§subscriber_carrier: String§meid: String§total_storage_space_in_bytes: i64§free_storage_space_in_bytes: i64§managed_device_name: String§partner_reported_threat_state: ManagedDevicePartnerReportedHealthState§device_configuration_states: Vec<DeviceConfigurationState>§device_category: DeviceCategory§device_compliance_policy_states: Vec<DeviceCompliancePolicyState>

Trait Implementations§

Source§

impl Clone for ManagedDevice

Source§

fn clone(&self) -> ManagedDevice

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 ManagedDevice

Source§

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

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

impl<'de> Deserialize<'de> for ManagedDevice

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 ManagedDevice

Source§

fn eq(&self, other: &ManagedDevice) -> 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 ManagedDevice

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 ManagedDevice

Source§

impl StructuralPartialEq for ManagedDevice

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>,