pub struct Sentiment {
pub symbol: String,
pub score: f64,
pub analyst_tilt: Option<f64>,
pub revision: Option<f64>,
pub target_upside: Option<f64>,
pub news_tone: Option<f64>,
pub analysts: u32,
pub headlines: u32,
pub confidence: f64,
pub fetched: String,
}Fields§
§symbol: String§score: f64Final score in [0, 1]; 0.5 is neutral.
analyst_tilt: Option<f64>§revision: Option<f64>§target_upside: Option<f64>§news_tone: Option<f64>§analysts: u32§headlines: u32§confidence: f64[0, 1]: how much evidence there was.
fetched: StringImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Sentiment
impl<'de> Deserialize<'de> for Sentiment
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
Auto Trait Implementations§
impl Freeze for Sentiment
impl RefUnwindSafe for Sentiment
impl Send for Sentiment
impl Sync for Sentiment
impl Unpin for Sentiment
impl UnsafeUnpin for Sentiment
impl UnwindSafe for Sentiment
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