[][src]Struct gcp_client::google::cloud::dialogflow::v2::WebhookRequest

pub struct WebhookRequest {
    pub session: String,
    pub response_id: String,
    pub query_result: Option<QueryResult>,
    pub original_detect_intent_request: Option<OriginalDetectIntentRequest>,
}

The request message for a webhook call.

Fields

session: String

The unique identifier of detectIntent request session. Can be used to identify end-user inside webhook implementation. Format: projects/<Project ID>/agent/sessions/<Session ID>, or projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>.

response_id: String

The unique identifier of the response. Contains the same value as [Streaming]DetectIntentResponse.response_id.

query_result: Option<QueryResult>

The result of the conversational query or event processing. Contains the same value as [Streaming]DetectIntentResponse.query_result.

original_detect_intent_request: Option<OriginalDetectIntentRequest>

Optional. The contents of the original request that was passed to [Streaming]DetectIntent call.

Trait Implementations

impl Clone for WebhookRequest[src]

impl Debug for WebhookRequest[src]

impl Default for WebhookRequest[src]

impl Message for WebhookRequest[src]

impl PartialEq<WebhookRequest> for WebhookRequest[src]

impl StructuralPartialEq for WebhookRequest[src]

Auto Trait Implementations

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, 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>, 

impl<T> WithSubscriber for T[src]