1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
use super::dropoff::DropOff;
use super::pickup::PickUp;
use importer::NaiveDate;
use importer::NaiveTime;
#[derive(Debug, Serialize)]
pub struct Time {
pub trip_id: String,
pub arrival_time: String,
pub departure_time: String,
pub stop_id: String,
pub stop_sequence: i32,
pub pickup_type: PickUp,
pub drop_off_type: DropOff,
pub route_id: String,
pub service_days: Vec<bool>,
pub service_uid: String,
pub start_date: NaiveDate,
pub end_date: NaiveDate,
#[serde(skip_serializing)]
pub feed_id: String,
}