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

pub struct DialogStateIn {
    pub conversation_state: Vec<u8>,
    pub language_code: String,
    pub device_location: Option<DeviceLocation>,
    pub is_new_conversation: bool,
}

Provides information about the current dialog state.

Fields

conversation_state: Vec<u8>

Required This field must always be set to the [DialogStateOut.conversation_state][google.assistant.embedded.v1alpha2.DialogStateOut.conversation_state] value that was returned in the prior Assist RPC. It should only be omitted (field not set) if there was no prior Assist RPC because this is the first Assist RPC made by this device after it was first setup and/or a factory-default reset.

language_code: String

Required Language of the request in IETF BCP 47 syntax (for example, “en-US”). See Language Support for more information. If you have selected a language for this device_id using the Settings menu in your phone’s Google Assistant app, that selection will override this value.

device_location: Option<DeviceLocation>

Optional Location of the device where the query originated.

is_new_conversation: bool

Optional If true, the server will treat the request as a new conversation and not use state from the prior request. Set this field to true when the conversation should be restarted, such as after a device reboot, or after a significant lapse of time since the prior query.

Trait Implementations

impl Clone for DialogStateIn[src]

impl Debug for DialogStateIn[src]

impl Default for DialogStateIn[src]

impl Message for DialogStateIn[src]

impl PartialEq<DialogStateIn> for DialogStateIn[src]

impl StructuralPartialEq for DialogStateIn[src]

Auto Trait Implementations

impl RefUnwindSafe for DialogStateIn

impl Send for DialogStateIn

impl Sync for DialogStateIn

impl Unpin for DialogStateIn

impl UnwindSafe for DialogStateIn

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]