Struct google_dialogflow3::api::GoogleCloudDialogflowCxV3QueryInput[][src]

pub struct GoogleCloudDialogflowCxV3QueryInput {
    pub audio: Option<GoogleCloudDialogflowCxV3AudioInput>,
    pub dtmf: Option<GoogleCloudDialogflowCxV3DtmfInput>,
    pub event: Option<GoogleCloudDialogflowCxV3EventInput>,
    pub intent: Option<GoogleCloudDialogflowCxV3IntentInput>,
    pub language_code: Option<String>,
    pub text: Option<GoogleCloudDialogflowCxV3TextInput>,
}

Represents the query input. It can contain one of: 1. A conversational query in the form of text. 2. An intent query that specifies which intent to trigger. 3. Natural language speech audio to be processed. 4. An event to be triggered.

This type is not used in any activity, and only used as part of another schema.

Fields

audio: Option<GoogleCloudDialogflowCxV3AudioInput>

The natural language speech audio to be processed.

dtmf: Option<GoogleCloudDialogflowCxV3DtmfInput>

The DTMF event to be handled.

event: Option<GoogleCloudDialogflowCxV3EventInput>

The event to be triggered.

intent: Option<GoogleCloudDialogflowCxV3IntentInput>

The intent to be triggered.

language_code: Option<String>

Required. The language of the input. See Language Support for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.

text: Option<GoogleCloudDialogflowCxV3TextInput>

The natural language text to be processed.

Trait Implementations

impl Clone for GoogleCloudDialogflowCxV3QueryInput[src]

impl Debug for GoogleCloudDialogflowCxV3QueryInput[src]

impl Default for GoogleCloudDialogflowCxV3QueryInput[src]

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

impl Part for GoogleCloudDialogflowCxV3QueryInput[src]

impl Serialize for GoogleCloudDialogflowCxV3QueryInput[src]

Auto Trait Implementations

impl RefUnwindSafe for GoogleCloudDialogflowCxV3QueryInput[src]

impl Send for GoogleCloudDialogflowCxV3QueryInput[src]

impl Sync for GoogleCloudDialogflowCxV3QueryInput[src]

impl Unpin for GoogleCloudDialogflowCxV3QueryInput[src]

impl UnwindSafe for GoogleCloudDialogflowCxV3QueryInput[src]

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<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.