Struct google_dialogflow2_beta1::IntentMessageSimpleResponse [] [src]

pub struct IntentMessageSimpleResponse {
    pub display_text: Option<String>,
    pub text_to_speech: Option<String>,
    pub ssml: Option<String>,
}

The simple response message containing speech or text.

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

Fields

Optional. The text to display.

One of text_to_speech or ssml must be provided. The plain text of the speech output. Mutually exclusive with ssml.

One of text_to_speech or ssml must be provided. Structured spoken response to the user in the SSML format. Mutually exclusive with text_to_speech.

Trait Implementations

impl Default for IntentMessageSimpleResponse
[src]

[src]

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

impl Clone for IntentMessageSimpleResponse
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for IntentMessageSimpleResponse
[src]

[src]

Formats the value using the given formatter.

impl Part for IntentMessageSimpleResponse
[src]