Struct google_dialogflow2::api::GoogleCloudDialogflowV2QueryInput[][src]

pub struct GoogleCloudDialogflowV2QueryInput {
    pub audio_config: Option<GoogleCloudDialogflowV2InputAudioConfig>,
    pub event: Option<GoogleCloudDialogflowV2EventInput>,
    pub text: Option<GoogleCloudDialogflowV2TextInput>,
}

Represents the query input. It can contain either: 1. An audio config which instructs the speech recognizer how to process the speech audio. 2. A conversational query in the form of text,. 3. An event that specifies which intent to trigger.

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

Fields

audio_config: Option<GoogleCloudDialogflowV2InputAudioConfig>

Instructs the speech recognizer how to process the speech audio.

event: Option<GoogleCloudDialogflowV2EventInput>

The event to be processed.

text: Option<GoogleCloudDialogflowV2TextInput>

The natural language text to be processed.

Trait Implementations

impl Clone for GoogleCloudDialogflowV2QueryInput[src]

impl Debug for GoogleCloudDialogflowV2QueryInput[src]

impl Default for GoogleCloudDialogflowV2QueryInput[src]

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

impl Part for GoogleCloudDialogflowV2QueryInput[src]

impl Serialize for GoogleCloudDialogflowV2QueryInput[src]

Auto Trait Implementations

impl RefUnwindSafe for GoogleCloudDialogflowV2QueryInput[src]

impl Send for GoogleCloudDialogflowV2QueryInput[src]

impl Sync for GoogleCloudDialogflowV2QueryInput[src]

impl Unpin for GoogleCloudDialogflowV2QueryInput[src]

impl UnwindSafe for GoogleCloudDialogflowV2QueryInput[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.