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]

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

impl Debug for Button
[src]

Formats the value using the given formatter. Read more

impl Clone for Button
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Button
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for Button

impl Sync for Button