Struct gapi_grpc::google::cloud::dialogflow::cx::v3beta1::WebhookResponse[][src]

pub struct WebhookResponse {
    pub fulfillment_response: Option<FulfillmentResponse>,
    pub page_info: Option<PageInfo>,
    pub session_info: Option<SessionInfo>,
    pub payload: Option<Struct>,
    pub transition: Option<Transition>,
}

The response message for a webhook call.

Fields

fulfillment_response: Option<FulfillmentResponse>

The fulfillment response to send to the user. This field can be omitted by the webhook if it does not intend to send any response to the user.

page_info: Option<PageInfo>

Information about page status. This field can be omitted by the webhook if it does not intend to modify page status.

session_info: Option<SessionInfo>

Information about session status. This field can be omitted by the webhook if it does not intend to modify session status.

payload: Option<Struct>

Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].

transition: Option<Transition>

The target to transition to. This can be set optionally to indicate an immediate transition to a different page in the same host flow, or a different flow in the same agent.

Trait Implementations

impl Clone for WebhookResponse[src]

impl Debug for WebhookResponse[src]

impl Default for WebhookResponse[src]

impl Message for WebhookResponse[src]

impl PartialEq<WebhookResponse> for WebhookResponse[src]

impl StructuralPartialEq for WebhookResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for WebhookResponse

impl Send for WebhookResponse

impl Sync for WebhookResponse

impl Unpin for WebhookResponse

impl UnwindSafe for WebhookResponse

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]