pub struct AffectiveAnnotation {
pub tone: Option<String>,
pub sentiment: Option<String>,
pub urgency: f32,
pub confidence: f32,
pub tension: f32,
pub provenance: AffectiveAnnotationProvenance,
}Fields§
§tone: Option<String>§sentiment: Option<String>§urgency: f32§confidence: f32§tension: f32§provenance: AffectiveAnnotationProvenanceImplementations§
Trait Implementations§
Source§impl Clone for AffectiveAnnotation
impl Clone for AffectiveAnnotation
Source§fn clone(&self) -> AffectiveAnnotation
fn clone(&self) -> AffectiveAnnotation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AffectiveAnnotation
impl Debug for AffectiveAnnotation
Source§impl Default for AffectiveAnnotation
impl Default for AffectiveAnnotation
Source§impl<'de> Deserialize<'de> for AffectiveAnnotation
impl<'de> Deserialize<'de> for AffectiveAnnotation
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 AffectiveAnnotation
impl PartialEq for AffectiveAnnotation
Source§fn eq(&self, other: &AffectiveAnnotation) -> bool
fn eq(&self, other: &AffectiveAnnotation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AffectiveAnnotation
impl Serialize for AffectiveAnnotation
impl StructuralPartialEq for AffectiveAnnotation
Auto Trait Implementations§
impl Freeze for AffectiveAnnotation
impl RefUnwindSafe for AffectiveAnnotation
impl Send for AffectiveAnnotation
impl Sync for AffectiveAnnotation
impl Unpin for AffectiveAnnotation
impl UnsafeUnpin for AffectiveAnnotation
impl UnwindSafe for AffectiveAnnotation
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