Struct gapi_grpc::google::actions::sdk::v2::interactionmodel::slot::PromptSettings[][src]

pub struct PromptSettings {
    pub initial_prompt: Option<EventHandler>,
    pub no_match_prompt1: Option<EventHandler>,
    pub no_match_prompt2: Option<EventHandler>,
    pub no_match_final_prompt: Option<EventHandler>,
    pub no_input_prompt1: Option<EventHandler>,
    pub no_input_prompt2: Option<EventHandler>,
    pub no_input_final_prompt: Option<EventHandler>,
}

A single place where slot prompts are defined.

Fields

initial_prompt: Option<EventHandler>

Prompt for the slot value itself. Example: “What size did you want?”

no_match_prompt1: Option<EventHandler>

Prompt to give when the user’s input does not match the expected value type for the slot for the first time. Example: “Sorry, I didn’t get that.”

no_match_prompt2: Option<EventHandler>

Prompt to give when the user’s input does not match the expected value type for the slot for the second time. Example: “Sorry, I didn’t get that.”

no_match_final_prompt: Option<EventHandler>

Prompt to give when the user’s input does not match the expected value type for the slot for the last time. Example: “Sorry, I didn’t get that.”

no_input_prompt1: Option<EventHandler>

Prompt to give when the user does not provide an input for the first time. Example: “Sorry, I didn’t get that.”

no_input_prompt2: Option<EventHandler>

Prompt to give when the user does not provide an input for the second time. Example: “Sorry, I didn’t get that.”

no_input_final_prompt: Option<EventHandler>

Prompt to give when the user does not provide an input for the last time. Example: “Sorry, I didn’t get that.”

Trait Implementations

impl Clone for PromptSettings[src]

impl Debug for PromptSettings[src]

impl Default for PromptSettings[src]

impl Message for PromptSettings[src]

impl PartialEq<PromptSettings> for PromptSettings[src]

impl StructuralPartialEq for PromptSettings[src]

Auto Trait Implementations

impl RefUnwindSafe for PromptSettings

impl Send for PromptSettings

impl Sync for PromptSettings

impl Unpin for PromptSettings

impl UnwindSafe for PromptSettings

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]