Struct google_androidenterprise1::NewDeviceEvent [−][src]
pub struct NewDeviceEvent { pub user_id: Option<String>, pub device_id: Option<String>, pub dpc_package_name: Option<String>, pub management_type: Option<String>, }
An event generated when a new device is ready to be managed.
This type is not used in any activity, and only used as part of another schema.
Fields
user_id: Option<String>
The ID of the user. This field will always be present.
device_id: Option<String>
The Android ID of the device. This field will always be present.
dpc_package_name: Option<String>
Policy app on the device.
management_type: Option<String>
Identifies the extent to which the device is controlled by an Android EMM in various deployment configurations.
Possible values include:
- "managedDevice", a device where the DPC is set as device owner,
- "managedProfile", a device where the DPC is set as profile owner.
Trait Implementations
impl Default for NewDeviceEvent
[src]
impl Default for NewDeviceEvent
fn default() -> NewDeviceEvent
[src]
fn default() -> NewDeviceEvent
Returns the "default value" for a type. Read more
impl Clone for NewDeviceEvent
[src]
impl Clone for NewDeviceEvent
fn clone(&self) -> NewDeviceEvent
[src]
fn clone(&self) -> NewDeviceEvent
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for NewDeviceEvent
[src]
impl Debug for NewDeviceEvent
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for NewDeviceEvent
[src]
impl Part for NewDeviceEvent
Auto Trait Implementations
impl Send for NewDeviceEvent
impl Send for NewDeviceEvent
impl Sync for NewDeviceEvent
impl Sync for NewDeviceEvent