[][src]Struct rusoto_rekognition::Emotion

pub struct Emotion {
    pub confidence: Option<f32>,
    pub type_: Option<String>,
}

The emotions that appear to be expressed on the face, and the confidence level in the determination. The API is only making a determination of the physical appearance of a person's face. It is not a determination of the person’s internal emotional state and should not be used in such a way. For example, a person pretending to have a sad face might not be sad emotionally.

Fields

confidence: Option<f32>

Level of confidence in the determination.

type_: Option<String>

Type of emotion detected.

Trait Implementations

impl Clone for Emotion[src]

impl Debug for Emotion[src]

impl Default for Emotion[src]

impl<'de> Deserialize<'de> for Emotion[src]

impl PartialEq<Emotion> for Emotion[src]

impl StructuralPartialEq for Emotion[src]

Auto Trait Implementations

impl RefUnwindSafe for Emotion

impl Send for Emotion

impl Sync for Emotion

impl Unpin for Emotion

impl UnwindSafe for Emotion

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.