pub struct GoogleCloudDialogflowV2IntentMessageBasicCard {
pub buttons: Option<Vec<GoogleCloudDialogflowV2IntentMessageBasicCardButton>>,
pub formatted_text: Option<String>,
pub image: Option<GoogleCloudDialogflowV2IntentMessageImage>,
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<GoogleCloudDialogflowV2IntentMessageImage>
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 GoogleCloudDialogflowV2IntentMessageBasicCard
impl Clone for GoogleCloudDialogflowV2IntentMessageBasicCard
source§fn clone(&self) -> GoogleCloudDialogflowV2IntentMessageBasicCard
fn clone(&self) -> GoogleCloudDialogflowV2IntentMessageBasicCard
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 GoogleCloudDialogflowV2IntentMessageBasicCard
impl Default for GoogleCloudDialogflowV2IntentMessageBasicCard
source§fn default() -> GoogleCloudDialogflowV2IntentMessageBasicCard
fn default() -> GoogleCloudDialogflowV2IntentMessageBasicCard
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2IntentMessageBasicCard
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2IntentMessageBasicCard
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 GoogleCloudDialogflowV2IntentMessageBasicCard
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDialogflowV2IntentMessageBasicCard
impl Send for GoogleCloudDialogflowV2IntentMessageBasicCard
impl Sync for GoogleCloudDialogflowV2IntentMessageBasicCard
impl Unpin for GoogleCloudDialogflowV2IntentMessageBasicCard
impl UnwindSafe for GoogleCloudDialogflowV2IntentMessageBasicCard
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