[][src]Struct gcp_client::google::cloud::dialogflow::v2beta1::intent::message::RbmSuggestedAction

pub struct RbmSuggestedAction {
    pub text: String,
    pub postback_data: String,
    pub action: Option<Action>,
}

Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card.

Fields

text: String

Text to display alongside the action.

postback_data: String

Opaque payload that the Dialogflow receives in a user event when the user taps the suggested action. This data will be also forwarded to webhook to allow performing custom business logic.

action: Option<Action>

Action that needs to be triggered.

Trait Implementations

impl Clone for RbmSuggestedAction[src]

impl Debug for RbmSuggestedAction[src]

impl Default for RbmSuggestedAction[src]

impl Message for RbmSuggestedAction[src]

impl PartialEq<RbmSuggestedAction> for RbmSuggestedAction[src]

impl StructuralPartialEq for RbmSuggestedAction[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]