Struct aws_sdk_comprehend::types::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() -> MentionSentimentBuilder
pub fn builder() -> MentionSentimentBuilder
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 moresource§impl Debug for MentionSentiment
impl Debug for MentionSentiment
source§impl PartialEq<MentionSentiment> for MentionSentiment
impl PartialEq<MentionSentiment> for MentionSentiment
source§fn eq(&self, other: &MentionSentiment) -> bool
fn eq(&self, other: &MentionSentiment) -> bool
This method tests for
self and other values to be equal, and is used
by ==.