Struct gapi_grpc::google::cloud::dialogflow::v2beta1::SentimentAnalysisResult[][src]

pub struct SentimentAnalysisResult {
    pub query_text_sentiment: Option<Sentiment>,
}

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][google.cloud.dialogflow.v2beta1.DetectIntentRequest.query_params]. For [Participants.StreamingDetectIntent][], it needs to be configured in [StreamingDetectIntentRequest.query_params][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_params]. And for [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] and [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent], it needs to be configured in [ConversationProfile.human_agent_assistant_config][google.cloud.dialogflow.v2beta1.ConversationProfile.human_agent_assistant_config]

Fields

query_text_sentiment: Option<Sentiment>

The sentiment analysis result for query_text.

Trait Implementations

impl Clone for SentimentAnalysisResult[src]

impl Debug for SentimentAnalysisResult[src]

impl Default for SentimentAnalysisResult[src]

impl Message for SentimentAnalysisResult[src]

impl PartialEq<SentimentAnalysisResult> for SentimentAnalysisResult[src]

impl StructuralPartialEq for SentimentAnalysisResult[src]

Auto Trait Implementations

impl RefUnwindSafe for SentimentAnalysisResult

impl Send for SentimentAnalysisResult

impl Sync for SentimentAnalysisResult

impl Unpin for SentimentAnalysisResult

impl UnwindSafe for SentimentAnalysisResult

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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]