pub struct AltDataPoint {
pub source: AltDataSource,
pub symbol: String,
pub value: f64,
pub confidence: f64,
pub timestamp: u64,
pub metadata: HashMap<String, String>,
}Expand description
A single timestamped alternative data observation.
Fields§
§source: AltDataSourceSource category.
symbol: StringTicker / symbol this data pertains to.
value: f64Numeric signal value (interpretation is source-dependent).
confidence: f64Confidence in this data point (0.0–1.0).
timestamp: u64Unix timestamp (seconds) when this data was recorded.
metadata: HashMap<String, String>Arbitrary key-value metadata (e.g. "provider", "region").
Trait Implementations§
Source§impl Clone for AltDataPoint
impl Clone for AltDataPoint
Auto Trait Implementations§
impl Freeze for AltDataPoint
impl RefUnwindSafe for AltDataPoint
impl Send for AltDataPoint
impl Sync for AltDataPoint
impl Unpin for AltDataPoint
impl UnsafeUnpin for AltDataPoint
impl UnwindSafe for AltDataPoint
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