Struct google_language1_beta1::AnnotateTextResponse[][src]

pub struct AnnotateTextResponse {
    pub tokens: Option<Vec<Token>>,
    pub entities: Option<Vec<Entity>>,
    pub document_sentiment: Option<Sentiment>,
    pub language: Option<String>,
    pub sentences: Option<Vec<Sentence>>,
}

The text annotations 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

Tokens, along with their syntactic information, in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_syntax.

Entities, along with their semantic information, in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_entities.

The overall sentiment for the document. Populated if the user enables AnnotateTextRequest.Features.extract_document_sentiment.

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.

Sentences in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_syntax.

Trait Implementations

impl Default for AnnotateTextResponse
[src]

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

impl Clone for AnnotateTextResponse
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for AnnotateTextResponse
[src]

Formats the value using the given formatter. Read more

impl ResponseResult for AnnotateTextResponse
[src]

Auto Trait Implementations