Struct google_language1::AnalyzeSentimentResponse[][src]

pub struct AnalyzeSentimentResponse {
    pub document_sentiment: Option<Sentiment>,
    pub language: Option<String>,
    pub sentences: Option<Vec<Sentence>>,
}

The sentiment analysis response message.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

The overall sentiment of the input document.

The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details.

The sentiment for all the sentences in the document.

Trait Implementations

impl Default for AnalyzeSentimentResponse
[src]

Returns the "default value" for a type. Read more

impl Clone for AnalyzeSentimentResponse
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for AnalyzeSentimentResponse
[src]

Formats the value using the given formatter. Read more

impl ResponseResult for AnalyzeSentimentResponse
[src]

Auto Trait Implementations