Struct gapi_grpc::google::cloud::dialogflow::v2::Fulfillment[][src]

pub struct Fulfillment {
    pub name: String,
    pub display_name: String,
    pub enabled: bool,
    pub features: Vec<Feature>,
    pub fulfillment: Option<Fulfillment>,
}

By default, your agent responds to a matched intent with a static response. As an alternative, you can provide a more dynamic response by using fulfillment. When you enable fulfillment for an intent, Dialogflow responds to that intent by calling a service that you define. For example, if an end-user wants to schedule a haircut on Friday, your service can check your database and respond to the end-user with availability information for Friday.

For more information, see the fulfillment guide.

Fields

name: String

Required. The unique identifier of the fulfillment. Supported formats:

This field is not used for Fulfillment in an Environment.

display_name: String

Optional. The human-readable name of the fulfillment, unique within the agent.

This field is not used for Fulfillment in an Environment.

enabled: bool

Optional. Whether fulfillment is enabled.

features: Vec<Feature>

Optional. The field defines whether the fulfillment is enabled for certain features.

fulfillment: Option<Fulfillment>

Required. The fulfillment configuration.

Trait Implementations

impl Clone for Fulfillment[src]

impl Debug for Fulfillment[src]

impl Default for Fulfillment[src]

impl Message for Fulfillment[src]

impl PartialEq<Fulfillment> for Fulfillment[src]

impl StructuralPartialEq for Fulfillment[src]

Auto Trait Implementations

impl RefUnwindSafe for Fulfillment

impl Send for Fulfillment

impl Sync for Fulfillment

impl Unpin for Fulfillment

impl UnwindSafe for Fulfillment

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]