Struct google_dialogflow2::api::GoogleCloudDialogflowV2IntentMessage[][src]

pub struct GoogleCloudDialogflowV2IntentMessage {
    pub basic_card: Option<GoogleCloudDialogflowV2IntentMessageBasicCard>,
    pub browse_carousel_card: Option<GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard>,
    pub card: Option<GoogleCloudDialogflowV2IntentMessageCard>,
    pub carousel_select: Option<GoogleCloudDialogflowV2IntentMessageCarouselSelect>,
    pub image: Option<GoogleCloudDialogflowV2IntentMessageImage>,
    pub link_out_suggestion: Option<GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion>,
    pub list_select: Option<GoogleCloudDialogflowV2IntentMessageListSelect>,
    pub media_content: Option<GoogleCloudDialogflowV2IntentMessageMediaContent>,
    pub payload: Option<HashMap<String, String>>,
    pub platform: Option<String>,
    pub quick_replies: Option<GoogleCloudDialogflowV2IntentMessageQuickReplies>,
    pub simple_responses: Option<GoogleCloudDialogflowV2IntentMessageSimpleResponses>,
    pub suggestions: Option<GoogleCloudDialogflowV2IntentMessageSuggestions>,
    pub table_card: Option<GoogleCloudDialogflowV2IntentMessageTableCard>,
    pub text: Option<GoogleCloudDialogflowV2IntentMessageText>,
}

A rich response message. Corresponds to the intent Response field in the Dialogflow console. For more information, see Rich response messages.

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

Fields

basic_card: Option<GoogleCloudDialogflowV2IntentMessageBasicCard>

The basic card response for Actions on Google.

browse_carousel_card: Option<GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard>

Browse carousel card for Actions on Google.

card: Option<GoogleCloudDialogflowV2IntentMessageCard>

The card response.

carousel_select: Option<GoogleCloudDialogflowV2IntentMessageCarouselSelect>

The carousel card response for Actions on Google.

image: Option<GoogleCloudDialogflowV2IntentMessageImage>

The image response.

link_out_suggestion: Option<GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion>

The link out suggestion chip for Actions on Google.

list_select: Option<GoogleCloudDialogflowV2IntentMessageListSelect>

The list card response for Actions on Google.

media_content: Option<GoogleCloudDialogflowV2IntentMessageMediaContent>

The media content card for Actions on Google.

payload: Option<HashMap<String, String>>

A custom platform-specific response.

platform: Option<String>

Optional. The platform that this message is intended for.

quick_replies: Option<GoogleCloudDialogflowV2IntentMessageQuickReplies>

The quick replies response.

simple_responses: Option<GoogleCloudDialogflowV2IntentMessageSimpleResponses>

The voice and text-only responses for Actions on Google.

suggestions: Option<GoogleCloudDialogflowV2IntentMessageSuggestions>

The suggestion chips for Actions on Google.

table_card: Option<GoogleCloudDialogflowV2IntentMessageTableCard>

Table card for Actions on Google.

text: Option<GoogleCloudDialogflowV2IntentMessageText>

The text response.

Trait Implementations

impl Clone for GoogleCloudDialogflowV2IntentMessage[src]

impl Debug for GoogleCloudDialogflowV2IntentMessage[src]

impl Default for GoogleCloudDialogflowV2IntentMessage[src]

impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2IntentMessage[src]

impl Part for GoogleCloudDialogflowV2IntentMessage[src]

impl Serialize for GoogleCloudDialogflowV2IntentMessage[src]

Auto Trait Implementations

impl RefUnwindSafe for GoogleCloudDialogflowV2IntentMessage[src]

impl Send for GoogleCloudDialogflowV2IntentMessage[src]

impl Sync for GoogleCloudDialogflowV2IntentMessage[src]

impl Unpin for GoogleCloudDialogflowV2IntentMessage[src]

impl UnwindSafe for GoogleCloudDialogflowV2IntentMessage[src]

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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> 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.