Struct aws_sdk_comprehend::model::SentimentScore
source · [−]#[non_exhaustive]pub struct SentimentScore { /* private fields */ }Expand description
Describes the level of confidence that Amazon Comprehend has in the accuracy of its detection of sentiments.
Implementations
sourceimpl SentimentScore
impl SentimentScore
sourcepub fn positive(&self) -> Option<f32>
pub fn positive(&self) -> Option<f32>
The level of confidence that Amazon Comprehend has in the accuracy of its detection of the POSITIVE sentiment.
sourcepub fn negative(&self) -> Option<f32>
pub fn negative(&self) -> Option<f32>
The level of confidence that Amazon Comprehend has in the accuracy of its detection of the NEGATIVE sentiment.
sourceimpl SentimentScore
impl SentimentScore
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SentimentScore.
Trait Implementations
sourceimpl Clone for SentimentScore
impl Clone for SentimentScore
sourcefn clone(&self) -> SentimentScore
fn clone(&self) -> SentimentScore
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SentimentScore
impl Debug for SentimentScore
sourceimpl PartialEq<SentimentScore> for SentimentScore
impl PartialEq<SentimentScore> for SentimentScore
sourcefn eq(&self, other: &SentimentScore) -> bool
fn eq(&self, other: &SentimentScore) -> bool
impl StructuralPartialEq for SentimentScore
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more