Struct google_language1_beta1::Sentence [−][src]
Represents a sentence in the input document.
This type is not used in any activity, and only used as part of another schema.
Fields
text: Option<TextSpan>
The sentence text.
sentiment: Option<Sentiment>
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]
impl Default for Sentence
impl Clone for Sentence
[src]
impl Clone for Sentence
fn clone(&self) -> Sentence
[src]
fn clone(&self) -> Sentence
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Sentence
[src]
impl Debug for Sentence
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for Sentence
[src]
impl Part for Sentence