Struct google_cognitive_apis::api::rest::google::cloud::dialogflow::v2::session::DetectIntentResponse
source · [−]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: String
query_result: Option<QueryResult>
webhook_status: Option<Status>
output_audio: Option<String>
output_audio_config: Option<OutputAudioConfig>
Trait Implementations
sourceimpl Debug for DetectIntentResponse
impl Debug for DetectIntentResponse
sourceimpl<'de> Deserialize<'de> for DetectIntentResponse
impl<'de> Deserialize<'de> for DetectIntentResponse
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for DetectIntentResponse
impl Send for DetectIntentResponse
impl Sync for DetectIntentResponse
impl Unpin for DetectIntentResponse
impl UnwindSafe for DetectIntentResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request