Struct gapi_grpc::google::actions::sdk::v2::interactionmodel::prompt::StaticCollectionPrompt[][src]

pub struct StaticCollectionPrompt {
    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

Optional. Title of the collection.

subtitle: String

Optional. Subtitle of the collection.

items: Vec<CollectionItem>

Required. Collection items.

image_fill: i32

Optional. Type of image display option.

Implementations

impl StaticCollectionPrompt[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 StaticCollectionPrompt[src]

impl Debug for StaticCollectionPrompt[src]

impl Default for StaticCollectionPrompt[src]

impl Message for StaticCollectionPrompt[src]

impl PartialEq<StaticCollectionPrompt> for StaticCollectionPrompt[src]

impl StructuralPartialEq for StaticCollectionPrompt[src]

Auto Trait Implementations

impl RefUnwindSafe for StaticCollectionPrompt

impl Send for StaticCollectionPrompt

impl Sync for StaticCollectionPrompt

impl Unpin for StaticCollectionPrompt

impl UnwindSafe for StaticCollectionPrompt

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]