Struct google_dialogflow2_beta1::TextInput [] [src]

pub struct TextInput {
    pub text: Option<String>,
    pub language_code: Option<String>,
}

Represents the natural language text to be processed.

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

Fields

Required. The UTF-8 encoded natural language text to be processed. Text length must not exceed 256 bytes.

Required. The language of this conversational query. 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.

Trait Implementations

impl Default for TextInput
[src]

[src]

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

impl Clone for TextInput
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for TextInput
[src]

[src]

Formats the value using the given formatter.

impl Part for TextInput
[src]