Struct rusoto_lex_runtime::Button [] [src]

pub struct Button {
    pub text: String,
    pub value: String,
}

Represents an option to be shown on the client platform (Facebook, Slack, etc.)

Fields

Text that is visible to the user on the button.

The value sent to Amazon Lex when a user chooses the button. For example, consider button text "NYC." When the user chooses the button, the value sent can be "New York City."

Trait Implementations

impl Default for Button
[src]

[src]

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

impl Debug for Button
[src]

[src]

Formats the value using the given formatter.

impl Clone for Button
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more