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

pub struct StaticPrompt {
    pub candidates: Vec<StaticPromptCandidate>,
}

Represents a list of prompt candidates, one of which will be selected as the prompt to be shown in the response to the user. This message is localizable.

Fields

candidates: Vec<StaticPromptCandidate>

The list of candidate prompts to be sent to the client. Each prompt has a selector to determine when it can be used. The first selector that matches a request will be sent and the rest will be ignored.

Trait Implementations

impl Clone for StaticPrompt[src]

impl Debug for StaticPrompt[src]

impl Default for StaticPrompt[src]

impl Message for StaticPrompt[src]

impl PartialEq<StaticPrompt> for StaticPrompt[src]

impl StructuralPartialEq for StaticPrompt[src]

Auto Trait Implementations

impl RefUnwindSafe for StaticPrompt

impl Send for StaticPrompt

impl Sync for StaticPrompt

impl Unpin for StaticPrompt

impl UnwindSafe for StaticPrompt

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]