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

pub struct OriginalDetectIntentRequest {
    pub source: String,
    pub version: String,
    pub payload: Option<Struct>,
}

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

Fields

source: String

The source of this request, e.g., google, facebook, slack. It is set by Dialogflow-owned servers.

version: String

Optional. The version of the protocol used for this request. This field is AoG-specific.

payload: Option<Struct>

Optional. This field is set to the value of the QueryParameters.payload field passed in the request. Some integrations that query a Dialogflow agent may provide additional information in the payload.

In particular, for the Dialogflow Phone Gateway integration, this field has the form:

{
 "telephony": {
   "caller_id": "+18558363987"
 }
}

Note: The caller ID field (caller_id) will be redacted for Standard Edition agents and populated with the caller ID in E.164 format for Enterprise Edition agents.

Trait Implementations

impl Clone for OriginalDetectIntentRequest[src]

impl Debug for OriginalDetectIntentRequest[src]

impl Default for OriginalDetectIntentRequest[src]

impl Message for OriginalDetectIntentRequest[src]

impl PartialEq<OriginalDetectIntentRequest> for OriginalDetectIntentRequest[src]

impl StructuralPartialEq for OriginalDetectIntentRequest[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]