pub struct NewDeviceEvent {
pub device_id: Option<String>,
pub dpc_package_name: Option<String>,
pub management_type: Option<String>,
pub user_id: Option<String>,
}Expand description
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§
§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.
user_id: Option<String>The ID of the user. This field will always be present.
Trait Implementations§
Source§impl Clone for NewDeviceEvent
impl Clone for NewDeviceEvent
Source§fn clone(&self) -> NewDeviceEvent
fn clone(&self) -> NewDeviceEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NewDeviceEvent
impl Debug for NewDeviceEvent
Source§impl Default for NewDeviceEvent
impl Default for NewDeviceEvent
Source§fn default() -> NewDeviceEvent
fn default() -> NewDeviceEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NewDeviceEvent
impl<'de> Deserialize<'de> for NewDeviceEvent
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for NewDeviceEvent
impl Serialize for NewDeviceEvent
impl Part for NewDeviceEvent
Auto Trait Implementations§
impl Freeze for NewDeviceEvent
impl RefUnwindSafe for NewDeviceEvent
impl Send for NewDeviceEvent
impl Sync for NewDeviceEvent
impl Unpin for NewDeviceEvent
impl UnwindSafe for NewDeviceEvent
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
Mutably borrows from an owned value. Read more