Struct google_dialogflow2::api::GoogleCloudDialogflowV2Fulfillment[][src]

pub struct GoogleCloudDialogflowV2Fulfillment {
    pub display_name: Option<String>,
    pub enabled: Option<bool>,
    pub features: Option<Vec<GoogleCloudDialogflowV2FulfillmentFeature>>,
    pub generic_web_service: Option<GoogleCloudDialogflowV2FulfillmentGenericWebService>,
    pub name: Option<String>,
}

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.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

display_name: Option<String>

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

enabled: Option<bool>

Optional. Whether fulfillment is enabled.

features: Option<Vec<GoogleCloudDialogflowV2FulfillmentFeature>>

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

generic_web_service: Option<GoogleCloudDialogflowV2FulfillmentGenericWebService>

Configuration for a generic web service.

name: Option<String>

Required. The unique identifier of the fulfillment. Format: projects//agent/fulfillment.

Trait Implementations

impl Clone for GoogleCloudDialogflowV2Fulfillment[src]

impl Debug for GoogleCloudDialogflowV2Fulfillment[src]

impl Default for GoogleCloudDialogflowV2Fulfillment[src]

impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2Fulfillment[src]

impl RequestValue for GoogleCloudDialogflowV2Fulfillment[src]

impl ResponseResult for GoogleCloudDialogflowV2Fulfillment[src]

impl Serialize for GoogleCloudDialogflowV2Fulfillment[src]

Auto Trait Implementations

impl RefUnwindSafe for GoogleCloudDialogflowV2Fulfillment[src]

impl Send for GoogleCloudDialogflowV2Fulfillment[src]

impl Sync for GoogleCloudDialogflowV2Fulfillment[src]

impl Unpin for GoogleCloudDialogflowV2Fulfillment[src]

impl UnwindSafe for GoogleCloudDialogflowV2Fulfillment[src]

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<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.