Struct gapi_grpc::google::assistant::embedded::v1alpha2::DeviceConfig[][src]

pub struct DeviceConfig {
    pub device_id: String,
    pub device_model_id: String,
}

Required Fields that identify the device to the Assistant.

See also:

Fields

device_id: String

Required Unique identifier for the device. The id length must be 128 characters or less. Example: DBCDW098234. This MUST match the device_id returned from device registration. This device_id is used to match against the user’s registered devices to lookup the supported traits and capabilities of this device. This information should not change across device reboots. However, it should not be saved across factory-default resets.

device_model_id: String

Required Unique identifier for the device model. The combination of device_model_id and device_id must have been previously associated through device registration.

Trait Implementations

impl Clone for DeviceConfig[src]

impl Debug for DeviceConfig[src]

impl Default for DeviceConfig[src]

impl Message for DeviceConfig[src]

impl PartialEq<DeviceConfig> for DeviceConfig[src]

impl StructuralPartialEq for DeviceConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for DeviceConfig

impl Send for DeviceConfig

impl Sync for DeviceConfig

impl Unpin for DeviceConfig

impl UnwindSafe for DeviceConfig

Blanket Implementations

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

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

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

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]