Struct aws_sdk_comprehend::model::MentionSentiment
source · #[non_exhaustive]pub struct MentionSentiment { /* private fields */ }Expand description
Contains the sentiment and sentiment score for one mention of an entity.
For more information about targeted sentiment, see Targeted sentiment.
Implementations§
source§impl MentionSentiment
impl MentionSentiment
sourcepub fn sentiment(&self) -> Option<&SentimentType>
pub fn sentiment(&self) -> Option<&SentimentType>
The sentiment of the mention.
sourcepub fn sentiment_score(&self) -> Option<&SentimentScore>
pub fn sentiment_score(&self) -> Option<&SentimentScore>
Describes the level of confidence that Amazon Comprehend has in the accuracy of its detection of sentiments.
source§impl MentionSentiment
impl MentionSentiment
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture MentionSentiment.
Trait Implementations§
source§impl Clone for MentionSentiment
impl Clone for MentionSentiment
source§fn clone(&self) -> MentionSentiment
fn clone(&self) -> MentionSentiment
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more