[][src]Struct google_androiddeviceprovisioning1::Device

pub struct Device {
    pub device_identifier: Option<DeviceIdentifier>,
    pub name: Option<String>,
    pub claims: Option<Vec<DeviceClaim>>,
    pub device_metadata: Option<DeviceMetadata>,
    pub configuration: Option<String>,
    pub device_id: Option<String>,
}

An Android device registered for zero-touch enrollment.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

device_identifier: Option<DeviceIdentifier>

The hardware IDs that identify a manufactured device. To learn more, read Identifiers.

name: Option<String>

Output only. The API resource name in the format partners/[PARTNER_ID]/devices/[DEVICE_ID]. Assigned by the server.

claims: Option<Vec<DeviceClaim>>

Output only. The provisioning claims for a device. Devices claimed for zero-touch enrollment have a claim with the type SECTION_TYPE_ZERO_TOUCH. Call partners.devices.unclaim or partners.devices.unclaimAsync to remove the device from zero-touch enrollment.

device_metadata: Option<DeviceMetadata>

The metadata attached to the device. Structured as key-value pairs. To learn more, read Device metadata.

configuration: Option<String>

Not available to resellers.

device_id: Option<String>

Output only. The ID of the device. Assigned by the server.

Trait Implementations

impl ResponseResult for Device[src]

impl Default for Device[src]

impl Clone for Device[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Device[src]

impl Serialize for Device[src]

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

Auto Trait Implementations

impl Send for Device

impl Unpin for Device

impl Sync for Device

impl UnwindSafe for Device

impl RefUnwindSafe for Device

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]