Expand description
Compile-time format type parameters for Quote and other
FormattedValue-bearing structs.
| Marker | F::Value<f64> | Access pattern |
|---|---|---|
format::Both | FormattedValue<f64> | .raw / .fmt / .long_fmt |
format::Raw | f64 | direct (no unwrapping) |
format::Pretty | String | human-readable string |
use finance_query::{format, Ticker};
let ticker = Ticker::new("AAPL").await?;
let quote: finance_query::Quote<format::Raw> = ticker.quote().await?;