pub struct FearGreedReading {
pub score: f64,
pub state: FearGreedState,
pub fear_gauge_score: f64,
pub volatility_score: f64,
pub flow_score: f64,
pub persistence_score: f64,
pub regime_score: f64,
pub driver: FearGreedDriver,
pub drag: FearGreedDriver,
}Fields§
§score: f64Composite 0..100: low means stress/fear, high means greed or complacency. Components are exposed so the UI can explain the score.
state: FearGreedState§fear_gauge_score: f64§volatility_score: f64§flow_score: f64§persistence_score: f64§regime_score: f64§driver: FearGreedDriver§drag: FearGreedDriverTrait Implementations§
Source§impl Clone for FearGreedReading
impl Clone for FearGreedReading
Source§fn clone(&self) -> FearGreedReading
fn clone(&self) -> FearGreedReading
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 moreimpl Copy for FearGreedReading
Source§impl Debug for FearGreedReading
impl Debug for FearGreedReading
Source§impl PartialEq for FearGreedReading
impl PartialEq for FearGreedReading
Source§impl Serialize for FearGreedReading
impl Serialize for FearGreedReading
impl StructuralPartialEq for FearGreedReading
Auto Trait Implementations§
impl Freeze for FearGreedReading
impl RefUnwindSafe for FearGreedReading
impl Send for FearGreedReading
impl Sync for FearGreedReading
impl Unpin for FearGreedReading
impl UnsafeUnpin for FearGreedReading
impl UnwindSafe for FearGreedReading
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