Struct aws_sdk_comprehend::output::DetectSentimentOutput [−][src]
#[non_exhaustive]pub struct DetectSentimentOutput {
pub sentiment: Option<SentimentType>,
pub sentiment_score: Option<SentimentScore>,
}Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.sentiment: Option<SentimentType>The inferred sentiment that Amazon Comprehend has the highest level of confidence in.
sentiment_score: Option<SentimentScore>An object that lists the sentiments, and their corresponding confidence levels.
Implementations
The inferred sentiment that Amazon Comprehend has the highest level of confidence in.
An object that lists the sentiments, and their corresponding confidence levels.
Creates a new builder-style object to manufacture DetectSentimentOutput
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 DetectSentimentOutput
impl Send for DetectSentimentOutput
impl Sync for DetectSentimentOutput
impl Unpin for DetectSentimentOutput
impl UnwindSafe for DetectSentimentOutput
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
