Struct google_dialogflow2::api::GoogleCloudDialogflowV2SentimentAnalysisResult[][src]

pub struct GoogleCloudDialogflowV2SentimentAnalysisResult {
    pub query_text_sentiment: Option<GoogleCloudDialogflowV2Sentiment>,
}

The result of sentiment analysis. Sentiment analysis inspects user input and identifies the prevailing subjective opinion, especially to determine a user's attitude as positive, negative, or neutral. For Participants.DetectIntent, it needs to be configured in DetectIntentRequest.query_params. For Participants.StreamingDetectIntent, it needs to be configured in StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, it needs to be configured in ConversationProfile.human_agent_assistant_config

This type is not used in any activity, and only used as part of another schema.

Fields

query_text_sentiment: Option<GoogleCloudDialogflowV2Sentiment>

The sentiment analysis result for query_text.

Trait Implementations

impl Clone for GoogleCloudDialogflowV2SentimentAnalysisResult[src]

impl Debug for GoogleCloudDialogflowV2SentimentAnalysisResult[src]

impl Default for GoogleCloudDialogflowV2SentimentAnalysisResult[src]

impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2SentimentAnalysisResult[src]

impl Part for GoogleCloudDialogflowV2SentimentAnalysisResult[src]

impl Serialize for GoogleCloudDialogflowV2SentimentAnalysisResult[src]

Auto Trait Implementations

impl RefUnwindSafe for GoogleCloudDialogflowV2SentimentAnalysisResult[src]

impl Send for GoogleCloudDialogflowV2SentimentAnalysisResult[src]

impl Sync for GoogleCloudDialogflowV2SentimentAnalysisResult[src]

impl Unpin for GoogleCloudDialogflowV2SentimentAnalysisResult[src]

impl UnwindSafe for GoogleCloudDialogflowV2SentimentAnalysisResult[src]

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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> 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.