pub struct ProvisioningInfo {
pub api_level: Option<i32>,
pub authenticated_user_email: Option<String>,
pub brand: Option<String>,
pub enterprise: Option<String>,
pub imei: Option<String>,
pub management_mode: Option<String>,
pub meid: Option<String>,
pub model: Option<String>,
pub name: Option<String>,
pub ownership: Option<String>,
pub serial_number: Option<String>,
}
Expand description
Information about a device that is available during setup.
§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).
- get provisioning info (response)
Fields§
§api_level: Option<i32>
The API level of the Android platform version running on the device.
authenticated_user_email: Option<String>
The email address of the authenticated user (only present for Google Account provisioning method).
brand: Option<String>
The brand of the device. For example, Google.
enterprise: Option<String>
The name of the enterprise in the form enterprises/{enterprise}.
imei: Option<String>
For corporate-owned devices, IMEI number of the GSM device. For example, A1000031212.
management_mode: Option<String>
The management mode of the device or profile.
meid: Option<String>
For corporate-owned devices, MEID number of the CDMA device. For example, A00000292788E1.
model: Option<String>
The model of the device. For example, Asus Nexus 7.
name: Option<String>
The name of this resource in the form provisioningInfo/{provisioning_info}.
ownership: Option<String>
Ownership of the managed device.
serial_number: Option<String>
For corporate-owned devices, The device serial number.
Trait Implementations§
Source§impl Clone for ProvisioningInfo
impl Clone for ProvisioningInfo
Source§fn clone(&self) -> ProvisioningInfo
fn clone(&self) -> ProvisioningInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ProvisioningInfo
impl Debug for ProvisioningInfo
Source§impl Default for ProvisioningInfo
impl Default for ProvisioningInfo
Source§fn default() -> ProvisioningInfo
fn default() -> ProvisioningInfo
Source§impl<'de> Deserialize<'de> for ProvisioningInfo
impl<'de> Deserialize<'de> for ProvisioningInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for ProvisioningInfo
impl Serialize for ProvisioningInfo
impl ResponseResult for ProvisioningInfo
Auto Trait Implementations§
impl Freeze for ProvisioningInfo
impl RefUnwindSafe for ProvisioningInfo
impl Send for ProvisioningInfo
impl Sync for ProvisioningInfo
impl Unpin for ProvisioningInfo
impl UnwindSafe for ProvisioningInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more