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

pub struct DeviceAction {
    pub device_request_json: String,
}

The response returned to the device if the user has triggered a Device Action. For example, a device which supports the query Turn on the light would receive a DeviceAction with a JSON payload containing the semantics of the request.

Fields

device_request_json: String

JSON containing the device command response generated from the triggered Device Action grammar. The format is given by the action.devices.EXECUTE intent for a given trait.

Trait Implementations

impl Clone for DeviceAction[src]

impl Debug for DeviceAction[src]

impl Default for DeviceAction[src]

impl Message for DeviceAction[src]

impl PartialEq<DeviceAction> for DeviceAction[src]

impl StructuralPartialEq for DeviceAction[src]

Auto Trait Implementations

impl RefUnwindSafe for DeviceAction

impl Send for DeviceAction

impl Sync for DeviceAction

impl Unpin for DeviceAction

impl UnwindSafe for DeviceAction

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]