pub struct SentimentIntensity {
pub neg: f64,
pub neu: f64,
pub pos: f64,
pub compound: f64,
}Expand description
Return value of the polarity_scores method
Fields§
§neg: f64§neu: f64§pos: f64§compound: f64Trait Implementations§
Source§impl Clone for SentimentIntensity
impl Clone for SentimentIntensity
Source§fn clone(&self) -> SentimentIntensity
fn clone(&self) -> SentimentIntensity
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 moreAuto Trait Implementations§
impl Freeze for SentimentIntensity
impl RefUnwindSafe for SentimentIntensity
impl Send for SentimentIntensity
impl Sync for SentimentIntensity
impl Unpin for SentimentIntensity
impl UnwindSafe for SentimentIntensity
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