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
device_identifier: Option<DeviceIdentifier>
The hardware IDs of the device.
device_id: Option<String>
The ID of the device.
Trait Implementations
impl Default for DeviceReference
[src]
impl Default for DeviceReference
fn default() -> DeviceReference
[src]
fn default() -> DeviceReference
Returns the "default value" for a type. Read more
impl Clone for DeviceReference
[src]
impl Clone for DeviceReference
fn clone(&self) -> DeviceReference
[src]
fn clone(&self) -> DeviceReference
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 DeviceReference
[src]
impl Debug for DeviceReference
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 DeviceReference
[src]
impl Part for DeviceReference
Auto Trait Implementations
impl Send for DeviceReference
impl Send for DeviceReference
impl Sync for DeviceReference
impl Sync for DeviceReference