[][src]Struct gcp_client::google::cloud::dialogflow::v2beta1::intent::message::RbmCarouselCard

pub struct RbmCarouselCard {
    pub card_width: i32,
    pub card_contents: Vec<RbmCardContent>,
}

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][google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard] instead.

Fields

card_width: i32

Required. The width of the cards in the carousel.

card_contents: Vec<RbmCardContent>

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

Implementations

impl RbmCarouselCard[src]

pub fn card_width(&self) -> CardWidth[src]

Returns the enum value of card_width, or the default if the field is set to an invalid enum value.

pub fn set_card_width(&mut self, value: CardWidth)[src]

Sets card_width to the provided enum value.

Trait Implementations

impl Clone for RbmCarouselCard[src]

impl Debug for RbmCarouselCard[src]

impl Default for RbmCarouselCard[src]

impl Message for RbmCarouselCard[src]

impl PartialEq<RbmCarouselCard> for RbmCarouselCard[src]

impl StructuralPartialEq for RbmCarouselCard[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T> Instrument for T[src]

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]