pub struct Series {
pub ticker: String,
pub numeric_id: Option<String>,
pub title: String,
pub category: Option<String>,
pub frequency: Option<String>,
pub tags: Vec<String>,
pub settlement_sources: Vec<SettlementSource>,
pub fee_type: Option<String>,
pub volume: Option<f64>,
pub last_updated_ts: Option<DateTime<Utc>>,
}Expand description
A recurring family of events (e.g. a weekly inflation reading or sports season).
Fields§
§ticker: StringNative series identifier — Kalshi series ticker or Polymarket series ticker/slug (e.g. "KXPRES").
numeric_id: Option<String>Polymarket numeric series id (e.g. "10345"); null on Kalshi.
title: StringHuman-readable series title (e.g. "US Presidential Election").
category: Option<String>Topical category (e.g. "Politics"); null when upstream omits it.
frequency: Option<String>Cadence string (e.g. "weekly"); null when upstream omits it.
Free-form tags (e.g. ["macro", "fed"]).
settlement_sources: Vec<SettlementSource>Resolution sources used by the exchange (e.g. [{"name": "BLS", "url": "..."}]).
fee_type: Option<String>Fee schedule label (e.g. "flat"); null when upstream omits it.
volume: Option<f64>Lifetime trading volume in USD across the series (e.g. 123456.78).
last_updated_ts: Option<DateTime<Utc>>Last upstream update time in UTC.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Series
impl<'de> Deserialize<'de> for Series
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
Auto Trait Implementations§
impl Freeze for Series
impl RefUnwindSafe for Series
impl Send for Series
impl Sync for Series
impl Unpin for Series
impl UnsafeUnpin for Series
impl UnwindSafe for Series
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