Struct google_dialogflow2_beta1::QueryInput [] [src]

pub struct QueryInput {
    pub text: Option<TextInput>,
    pub event: Option<EventInput>,
    pub audio_config: Option<InputAudioConfig>,
}

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

The natural language text to be processed.

The event to be processed.

Instructs the speech recognizer how to process the speech audio.

Trait Implementations

impl Default for QueryInput
[src]

[src]

Returns the "default value" for a type. Read more

impl Clone for QueryInput
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for QueryInput
[src]

[src]

Formats the value using the given formatter.

impl Part for QueryInput
[src]