Struct aws_sdk_comprehend::model::SentimentScore [−][src]
#[non_exhaustive]pub struct SentimentScore {
pub positive: Option<f32>,
pub negative: Option<f32>,
pub neutral: Option<f32>,
pub mixed: Option<f32>,
}Expand description
Describes the level of confidence that Amazon Comprehend has in the accuracy of its detection of sentiments.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.positive: Option<f32>The level of confidence that Amazon Comprehend has in the accuracy of its detection of the POSITIVE sentiment.
negative: Option<f32>The level of confidence that Amazon Comprehend has in the accuracy of its detection of the NEGATIVE sentiment.
neutral: Option<f32>The level of confidence that Amazon Comprehend has in the accuracy of its detection of the NEUTRAL sentiment.
mixed: Option<f32>The level of confidence that Amazon Comprehend has in the accuracy of its detection of the MIXED sentiment.
Implementations
The level of confidence that Amazon Comprehend has in the accuracy of its detection of the POSITIVE sentiment.
The level of confidence that Amazon Comprehend has in the accuracy of its detection of the NEGATIVE sentiment.
The level of confidence that Amazon Comprehend has in the accuracy of its detection of the NEUTRAL sentiment.
Creates a new builder-style object to manufacture SentimentScore
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for SentimentScore
impl Send for SentimentScore
impl Sync for SentimentScore
impl Unpin for SentimentScore
impl UnwindSafe for SentimentScore
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
