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

pub struct CollectionItem {
    pub key: String,
    pub title: String,
    pub description: String,
    pub image: Option<StaticImagePrompt>,
}

An item in the collection.

Fields

key: String

Required. The NLU key that matches the entry key name in the associated Type. When item tapped, this key will be posted back as a select option parameter.

title: String

Required. Title of the item. When tapped, this text will be posted back to the conversation verbatim as if the user had typed it. Each title must be unique among the set of items.

description: String

Optional. Body text of the item.

image: Option<StaticImagePrompt>

Optional. Item image.

Trait Implementations

impl Clone for CollectionItem[src]

impl Debug for CollectionItem[src]

impl Default for CollectionItem[src]

impl Message for CollectionItem[src]

impl PartialEq<CollectionItem> for CollectionItem[src]

impl StructuralPartialEq for CollectionItem[src]

Auto Trait Implementations

impl RefUnwindSafe for CollectionItem

impl Send for CollectionItem

impl Sync for CollectionItem

impl Unpin for CollectionItem

impl UnwindSafe for CollectionItem

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]