Struct gapi_grpc::google::actions::sdk::v2::conversation::Collection[][src]

pub struct Collection {
    pub title: String,
    pub subtitle: String,
    pub items: Vec<CollectionItem>,
    pub image_fill: i32,
}

A card for presenting a collection of options to select from.

Fields

title: String

Title of the collection. Optional.

subtitle: String

Subtitle of the collection. Optional.

items: Vec<CollectionItem>

min: 2 max: 10

image_fill: i32

How the image backgrounds of collection items will be filled. Optional.

Implementations

impl Collection[src]

pub fn image_fill(&self) -> ImageFill[src]

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

pub fn set_image_fill(&mut self, value: ImageFill)[src]

Sets image_fill to the provided enum value.

Trait Implementations

impl Clone for Collection[src]

impl Debug for Collection[src]

impl Default for Collection[src]

impl Message for Collection[src]

impl PartialEq<Collection> for Collection[src]

impl StructuralPartialEq for Collection[src]

Auto Trait Implementations

impl RefUnwindSafe for Collection

impl Send for Collection

impl Sync for Collection

impl Unpin for Collection

impl UnwindSafe for Collection

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> 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>, 
[src]

impl<T> WithSubscriber for T[src]