pub struct GoogleCloudDialogflowCxV3QueryInput {
pub audio: Option<GoogleCloudDialogflowCxV3AudioInput>,
pub dtmf: Option<GoogleCloudDialogflowCxV3DtmfInput>,
pub event: Option<GoogleCloudDialogflowCxV3EventInput>,
pub intent: Option<GoogleCloudDialogflowCxV3IntentInput>,
pub language_code: Option<String>,
pub text: Option<GoogleCloudDialogflowCxV3TextInput>,
}
Expand description
Represents the query input. It can contain one of: 1. A conversational query in the form of text. 2. An intent query that specifies which intent to trigger. 3. Natural language speech audio to be processed. 4. An event to be triggered. 5. DTMF digits to invoke an intent and fill in parameter value. 6. The results of a tool executed by the client.
This type is not used in any activity, and only used as part of another schema.
Fields§
§audio: Option<GoogleCloudDialogflowCxV3AudioInput>
The natural language speech audio to be processed.
dtmf: Option<GoogleCloudDialogflowCxV3DtmfInput>
The DTMF event to be handled.
event: Option<GoogleCloudDialogflowCxV3EventInput>
The event to be triggered.
intent: Option<GoogleCloudDialogflowCxV3IntentInput>
The intent to be triggered.
language_code: Option<String>
Required. The language of the input. See Language Support for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.
text: Option<GoogleCloudDialogflowCxV3TextInput>
The natural language text to be processed.
Trait Implementations§
Source§impl Clone for GoogleCloudDialogflowCxV3QueryInput
impl Clone for GoogleCloudDialogflowCxV3QueryInput
Source§fn clone(&self) -> GoogleCloudDialogflowCxV3QueryInput
fn clone(&self) -> GoogleCloudDialogflowCxV3QueryInput
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for GoogleCloudDialogflowCxV3QueryInput
impl Default for GoogleCloudDialogflowCxV3QueryInput
Source§fn default() -> GoogleCloudDialogflowCxV3QueryInput
fn default() -> GoogleCloudDialogflowCxV3QueryInput
Source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowCxV3QueryInput
impl<'de> Deserialize<'de> for GoogleCloudDialogflowCxV3QueryInput
Source§fn 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>,
impl Part for GoogleCloudDialogflowCxV3QueryInput
Auto Trait Implementations§
impl Freeze for GoogleCloudDialogflowCxV3QueryInput
impl RefUnwindSafe for GoogleCloudDialogflowCxV3QueryInput
impl Send for GoogleCloudDialogflowCxV3QueryInput
impl Sync for GoogleCloudDialogflowCxV3QueryInput
impl Unpin for GoogleCloudDialogflowCxV3QueryInput
impl UnwindSafe for GoogleCloudDialogflowCxV3QueryInput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more