pub struct GoogleCloudDialogflowV2beta1IntentMessageBasicCard {
pub buttons: Option<Vec<GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton>>,
pub formatted_text: Option<String>,
pub image: Option<GoogleCloudDialogflowV2beta1IntentMessageImage>,
pub subtitle: Option<String>,
pub title: Option<String>,
}
Expand description
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<GoogleCloudDialogflowV2beta1IntentMessageImage>
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§
source§impl Clone for GoogleCloudDialogflowV2beta1IntentMessageBasicCard
impl Clone for GoogleCloudDialogflowV2beta1IntentMessageBasicCard
source§fn clone(&self) -> GoogleCloudDialogflowV2beta1IntentMessageBasicCard
fn clone(&self) -> GoogleCloudDialogflowV2beta1IntentMessageBasicCard
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for GoogleCloudDialogflowV2beta1IntentMessageBasicCard
impl Default for GoogleCloudDialogflowV2beta1IntentMessageBasicCard
source§fn default() -> GoogleCloudDialogflowV2beta1IntentMessageBasicCard
fn default() -> GoogleCloudDialogflowV2beta1IntentMessageBasicCard
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1IntentMessageBasicCard
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1IntentMessageBasicCard
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for GoogleCloudDialogflowV2beta1IntentMessageBasicCard
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDialogflowV2beta1IntentMessageBasicCard
impl Send for GoogleCloudDialogflowV2beta1IntentMessageBasicCard
impl Sync for GoogleCloudDialogflowV2beta1IntentMessageBasicCard
impl Unpin for GoogleCloudDialogflowV2beta1IntentMessageBasicCard
impl UnwindSafe for GoogleCloudDialogflowV2beta1IntentMessageBasicCard
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
Mutably borrows from an owned value. Read more