aboutsummaryrefslogtreecommitdiffstats
path: root/meetup/src/event.rs
blob: 698ab4e2be8e974760d076c290808791c09bdb01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#[derive(Debug, Deserialize, PartialEq)]
pub struct Event {
    pub name: String,
    pub description: Option<String>,
    pub link: String,
    pub local_date: Option<String>,
    pub local_time: Option<String>,
    pub venue: Option<Venue>,
}

#[derive(Clone, Debug, Deserialize, PartialEq)]
pub struct Venue {
    pub name: String,
    pub address_1: String,
    pub city: String,
    pub localized_country_name: String,
}