pub struct DetectSentimentResponse {
pub sentiment: Option<String>,
pub sentiment_score: Option<SentimentScore>,
}Fields§
§sentiment: Option<String>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.
Trait Implementations§
Source§impl Clone for DetectSentimentResponse
impl Clone for DetectSentimentResponse
Source§fn clone(&self) -> DetectSentimentResponse
fn clone(&self) -> DetectSentimentResponse
Returns a duplicate 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 DetectSentimentResponse
impl Debug for DetectSentimentResponse
Source§impl Default for DetectSentimentResponse
impl Default for DetectSentimentResponse
Source§fn default() -> DetectSentimentResponse
fn default() -> DetectSentimentResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DetectSentimentResponse
impl<'de> Deserialize<'de> for DetectSentimentResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DetectSentimentResponse
impl PartialEq for DetectSentimentResponse
impl StructuralPartialEq for DetectSentimentResponse
Auto Trait Implementations§
impl Freeze for DetectSentimentResponse
impl RefUnwindSafe for DetectSentimentResponse
impl Send for DetectSentimentResponse
impl Sync for DetectSentimentResponse
impl Unpin for DetectSentimentResponse
impl UnwindSafe for DetectSentimentResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more