Struct google_language1::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 Sentenceimpl Clone for Sentence[src]
impl Clone for Sentencefn clone(&self) -> Sentence[src]
fn clone(&self) -> SentenceReturns 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 Sentencefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Part for Sentence[src]
impl Part for Sentence