Struct google_dialogflow2_beta1::IntentMessageBasicCard
[−]
[src]
pub struct IntentMessageBasicCard { pub buttons: Option<Vec<IntentMessageBasicCardButton>>, pub formatted_text: Option<String>, pub image: Option<IntentMessageImage>, pub subtitle: Option<String>, pub title: Option<String>, }
The basic card message. Useful for displaying information.
This type is not used in any activity, and only used as part of another schema.
Fields
Optional. The collection of card buttons.
formatted_text: Option<String>
Required, unless image is present. The body text of the card.
image: Option<IntentMessageImage>
Optional. The image for the card.
subtitle: Option<String>
Optional. The subtitle of the card.
title: Option<String>
Optional. The title of the card.
Trait Implementations
impl Default for IntentMessageBasicCard
[src]
fn default() -> IntentMessageBasicCard
[src]
Returns the "default value" for a type. Read more
impl Clone for IntentMessageBasicCard
[src]
fn clone(&self) -> IntentMessageBasicCard
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more