pub struct DetectIntentResponse {
    pub response_id: String,
    pub query_result: Option<QueryResult>,
    pub webhook_status: Option<Status>,
    pub output_audio: Option<String>,
    pub output_audio_config: Option<OutputAudioConfig>,
}
Expand description

Draft of DetectIntentResponse. Full specification here: https://cloud.google.com/dialogflow/es/docs/reference/rest/v2/DetectIntentResponse Currently QueryResult is not fully mapped into structs. We map only what we need.

Fields

response_id: Stringquery_result: Option<QueryResult>webhook_status: Option<Status>output_audio: Option<String>output_audio_config: Option<OutputAudioConfig>

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Wrap the input message T in a tonic::Request

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.