pub struct EventMarkets {
pub id: String,
pub sport_key: String,
pub sport_title: String,
pub commence_time: DateTime<Utc>,
pub home_team: Option<String>,
pub away_team: Option<String>,
pub bookmakers: Vec<BookmakerMarkets>,
}Expand description
Event with bookmaker market availability.
Fields§
§id: StringUnique identifier for the event.
sport_key: StringSport key this event belongs to.
sport_title: StringHuman-readable sport title.
commence_time: DateTime<Utc>When the event starts.
home_team: Option<String>Home team name (if applicable).
away_team: Option<String>Away team name (if applicable).
bookmakers: Vec<BookmakerMarkets>Bookmakers with their available markets.
Trait Implementations§
Source§impl Clone for EventMarkets
impl Clone for EventMarkets
Source§fn clone(&self) -> EventMarkets
fn clone(&self) -> EventMarkets
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EventMarkets
impl Debug for EventMarkets
Source§impl<'de> Deserialize<'de> for EventMarkets
impl<'de> Deserialize<'de> for EventMarkets
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 EventMarkets
impl RefUnwindSafe for EventMarkets
impl Send for EventMarkets
impl Sync for EventMarkets
impl Unpin for EventMarkets
impl UnsafeUnpin for EventMarkets
impl UnwindSafe for EventMarkets
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