pub struct GoogleCloudDialogflowV2IntentMessage {Show 15 fields
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, Value>>,
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>,
}
Expand description
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, Value>>
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§
Source§impl Clone for GoogleCloudDialogflowV2IntentMessage
impl Clone for GoogleCloudDialogflowV2IntentMessage
Source§fn clone(&self) -> GoogleCloudDialogflowV2IntentMessage
fn clone(&self) -> GoogleCloudDialogflowV2IntentMessage
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for GoogleCloudDialogflowV2IntentMessage
impl Default for GoogleCloudDialogflowV2IntentMessage
Source§fn default() -> GoogleCloudDialogflowV2IntentMessage
fn default() -> GoogleCloudDialogflowV2IntentMessage
Source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2IntentMessage
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2IntentMessage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Part for GoogleCloudDialogflowV2IntentMessage
Auto Trait Implementations§
impl Freeze for GoogleCloudDialogflowV2IntentMessage
impl RefUnwindSafe for GoogleCloudDialogflowV2IntentMessage
impl Send for GoogleCloudDialogflowV2IntentMessage
impl Sync for GoogleCloudDialogflowV2IntentMessage
impl Unpin for GoogleCloudDialogflowV2IntentMessage
impl UnwindSafe for GoogleCloudDialogflowV2IntentMessage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more