pub struct SentimentSignal {
pub symbol: String,
pub score: f64,
pub volume: u64,
pub source_count: u32,
pub bullish_pct: f64,
}Expand description
Aggregated social sentiment for a given symbol.
Fields§
§symbol: StringTicker symbol.
score: f64Composite sentiment score in [-1.0, 1.0] (negative = bearish, positive = bullish).
volume: u64Total message / post volume used to compute the score.
source_count: u32Number of distinct sources contributing.
bullish_pct: f64Fraction of bullish messages (0.0–1.0).
Trait Implementations§
Source§impl Clone for SentimentSignal
impl Clone for SentimentSignal
Auto Trait Implementations§
impl Freeze for SentimentSignal
impl RefUnwindSafe for SentimentSignal
impl Send for SentimentSignal
impl Sync for SentimentSignal
impl Unpin for SentimentSignal
impl UnsafeUnpin for SentimentSignal
impl UnwindSafe for SentimentSignal
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