Struct google_androiddeviceprovisioning1::DeviceReference[][src]

pub struct DeviceReference {
    pub device_identifier: Option<DeviceIdentifier>,
    pub device_id: Option<String>,
}

A DeviceReference is an API abstraction that lets you supply a device argument to a method using one of the following identifier types:

  • A numeric API resource ID.
  • Real-world hardware IDs, such as IMEI number, belonging to the manufactured device.

Methods that operate on devices take a DeviceReference as a parameter type because it's more flexible for the caller. To learn more about device identifiers, read Identifiers.

This type is not used in any activity, and only used as part of another schema.

Fields

The hardware IDs of the device.

The ID of the device.

Trait Implementations

impl Default for DeviceReference
[src]

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

impl Clone for DeviceReference
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for DeviceReference
[src]

Formats the value using the given formatter. Read more

impl Part for DeviceReference
[src]

Auto Trait Implementations