pub struct Event {
pub event_ticker: String,
pub series_ticker: String,
pub title: String,
pub sub_title: String,
pub mutually_exclusive: bool,
pub category: String,
pub strike_date: Option<String>,
pub strike_period: Option<String>,
pub markets: Option<Vec<Market>>,
}Expand description
Represents an event on the Kalshi exchange.
An event is a prediction market that contains multiple markets for trading. Events can have various statuses and may include nested markets.
Fields§
§event_ticker: String§series_ticker: String§title: String§sub_title: String§mutually_exclusive: bool§category: String§strike_date: Option<String>§strike_period: Option<String>§markets: Option<Vec<Market>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Event
impl<'de> Deserialize<'de> for Event
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 Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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