Struct google_language1::Sentence[][src]

pub struct Sentence {
    pub text: Option<TextSpan>,
    pub sentiment: Option<Sentiment>,
}

Represents a sentence in the input document.

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

Fields

The sentence text.

For calls to AnalyzeSentiment or if AnnotateTextRequest.Features.extract_document_sentiment is set to true, this field will contain the sentiment for the sentence.

Trait Implementations

impl Default for Sentence
[src]

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

impl Clone for Sentence
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Sentence
[src]

Formats the value using the given formatter. Read more

impl Part for Sentence
[src]

Auto Trait Implementations

impl Send for Sentence

impl Sync for Sentence