Struct aws_sdk_comprehend::model::BatchDetectSentimentItemResult [−][src]
#[non_exhaustive]pub struct BatchDetectSentimentItemResult {
pub index: Option<i32>,
pub sentiment: Option<SentimentType>,
pub sentiment_score: Option<SentimentScore>,
}Expand description
The result of calling the operation. The operation returns one object for each document that is successfully processed by the operation.
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.index: Option<i32>The zero-based index of the document in the input list.
sentiment: Option<SentimentType>The sentiment detected in the document.
sentiment_score: Option<SentimentScore>The level of confidence that Amazon Comprehend has in the accuracy of its sentiment detection.
Implementations
The sentiment detected in the document.
The level of confidence that Amazon Comprehend has in the accuracy of its sentiment detection.
Creates a new builder-style object to manufacture BatchDetectSentimentItemResult
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 Send for BatchDetectSentimentItemResult
impl Sync for BatchDetectSentimentItemResult
impl Unpin for BatchDetectSentimentItemResult
impl UnwindSafe for BatchDetectSentimentItemResult
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
