pub struct FastInfo {
pub symbol: Symbol,
pub name: Option<String>,
pub exchange: Option<Exchange>,
pub market_state: Option<MarketState>,
pub currency: Option<Currency>,
pub last: Option<Money>,
pub previous_close: Option<Money>,
pub volume: Option<u64>,
}Expand description
Lightweight snapshot of commonly requested fields for an instrument.
Prefer FastInfo for list views and latency-sensitive paths. For
extended snapshots, see Info.
Fields§
§symbol: SymbolPrimary trading symbol/ticker as provided by the data source.
name: Option<String>Human-friendly instrument name.
exchange: Option<Exchange>Primary listing exchange, if known.
market_state: Option<MarketState>Current market session state (for example: Pre, Regular, Post).
currency: Option<Currency>Quote currency used for monetary values in this snapshot.
last: Option<Money>Most recent traded/quoted price.
previous_close: Option<Money>Previous session’s official close price.
volume: Option<u64>Today’s trading volume.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FastInfo
impl<'de> Deserialize<'de> for FastInfo
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
impl Eq for FastInfo
impl StructuralPartialEq for FastInfo
Auto Trait Implementations§
impl Freeze for FastInfo
impl RefUnwindSafe for FastInfo
impl Send for FastInfo
impl Sync for FastInfo
impl Unpin for FastInfo
impl UnwindSafe for FastInfo
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