vlr_scraper/model/
event_matchlist.rs1use chrono::NaiveDateTime;
2use serde::Serialize;
3
4pub type EventMatchList = Vec<EventMatchListItem>;
6
7#[derive(Debug, Clone, Serialize)]
9pub struct EventMatchListItem {
10 pub id: u32,
11 pub slug: String,
12 pub href: String,
13 pub date_time: Option<NaiveDateTime>,
14 pub teams: Vec<EventMatchListTeam>,
15 pub tags: Vec<String>,
16 pub event_text: String,
17 pub event_series_text: String,
18}
19
20#[derive(Debug, Clone, Serialize)]
22pub struct EventMatchListTeam {
23 pub name: String,
24 pub is_winner: bool,
25 pub score: Option<u8>,
26}