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

The ID of the user. This field will always be present.

The Android ID of the device. This field will always be present.

Policy app on the device.

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]

Returns the "default value" for a type. Read more

impl Clone for NewDeviceEvent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for NewDeviceEvent
[src]

Formats the value using the given formatter. Read more

impl Part for NewDeviceEvent
[src]

Auto Trait Implementations