Struct google_language1::Sentiment [−][src]
Represents the feeling associated with the entire text or entities in the text.
This type is not used in any activity, and only used as part of another schema.
Fields
score: Option<f32>
Sentiment score between -1.0 (negative sentiment) and 1.0 (positive sentiment).
magnitude: Option<f32>
A non-negative number in the [0, +inf) range, which represents the absolute magnitude of sentiment regardless of score (positive or negative).
Trait Implementations
impl Default for Sentiment
[src]
impl Default for Sentiment
impl Clone for Sentiment
[src]
impl Clone for Sentiment
fn clone(&self) -> Sentiment
[src]
fn clone(&self) -> Sentiment
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 Sentiment
[src]
impl Debug for Sentiment
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 Sentiment
[src]
impl Part for Sentiment