[][src]Struct google_dialogflow2_beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard

pub struct GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard {
    pub card_contents: Option<Vec<GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent>>,
    pub card_width: Option<String>,
}

Carousel Rich Business Messaging (RBM) rich card.

Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions.

For more details about RBM rich cards, please see: https://developers.google.com/rcs-business-messaging/rbm/guides/build/send-messages#rich-cards. If you want to show a single card with more control over the layout, please use RbmStandaloneCard instead.

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

Fields

card_contents: Option<Vec<GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent>>

Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.

card_width: Option<String>

Required. The width of the cards in the carousel.

Trait Implementations

impl Part for GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard[src]

impl Default for GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard[src]

impl Clone for GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard[src]

impl Serialize for GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard[src]

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

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]