Struct google_dialogflow2::api::GoogleCloudDialogflowV2QueryParameters [−][src]
Represents the parameters of the conversational query.
This type is not used in any activity, and only used as part of another schema.
Fields
contexts: Option<Vec<GoogleCloudDialogflowV2Context>>The collection of contexts to be activated before this query is executed.
geo_location: Option<GoogleTypeLatLng>The geo location of this conversational query.
payload: Option<HashMap<String, String>>This field can be used to pass custom data to your webhook. Arbitrary JSON objects are supported. If supplied, the value is used to populate the WebhookRequest.original_detect_intent_request.payload field sent to your webhook.
reset_contexts: Option<bool>Specifies whether to delete all contexts in the current session before the new ones are activated.
sentiment_analysis_request_config: Option<GoogleCloudDialogflowV2SentimentAnalysisRequestConfig>Configures the type of sentiment analysis to perform. If not provided, sentiment analysis is not performed.
session_entity_types: Option<Vec<GoogleCloudDialogflowV2SessionEntityType>>Additional session entity types to replace or extend developer entity types with. The entity synonyms apply to all languages and persist for the session of this query.
time_zone: Option<String>The time zone of this conversational query from the time zone database, e.g., America/New_York, Europe/Paris. If not provided, the time zone specified in agent settings is used.
webhook_headers: Option<HashMap<String, String>>This field can be used to pass HTTP headers for a webhook call. These headers will be sent to webhook along with the headers that have been configured through the Dialogflow web console. The headers defined within this field will overwrite the headers configured through the Dialogflow console if there is a conflict. Header names are case-insensitive. Google's specified headers are not allowed. Including: "Host", "Content-Length", "Connection", "From", "User-Agent", "Accept-Encoding", "If-Modified-Since", "If-None-Match", "X-Forwarded-For", etc.
Trait Implementations
impl Clone for GoogleCloudDialogflowV2QueryParameters[src]
fn clone(&self) -> GoogleCloudDialogflowV2QueryParameters[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for GoogleCloudDialogflowV2QueryParameters[src]
impl Default for GoogleCloudDialogflowV2QueryParameters[src]
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2QueryParameters[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Part for GoogleCloudDialogflowV2QueryParameters[src]
impl Serialize for GoogleCloudDialogflowV2QueryParameters[src]
Auto Trait Implementations
impl RefUnwindSafe for GoogleCloudDialogflowV2QueryParameters[src]
impl Send for GoogleCloudDialogflowV2QueryParameters[src]
impl Sync for GoogleCloudDialogflowV2QueryParameters[src]
impl Unpin for GoogleCloudDialogflowV2QueryParameters[src]
impl UnwindSafe for GoogleCloudDialogflowV2QueryParameters[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,