[][src]Struct google_androidenterprise1::NewDeviceEvent

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 Part for NewDeviceEvent[src]

impl Default for NewDeviceEvent[src]

impl Clone for NewDeviceEvent[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 Serialize for NewDeviceEvent[src]

impl<'de> Deserialize<'de> for NewDeviceEvent[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

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