just add data loader here
Some checks failed
Create and publish a Docker image / build-and-push-image (push) Has been cancelled
Some checks failed
Create and publish a Docker image / build-and-push-image (push) Has been cancelled
This commit is contained in:
parent
04ae29eb27
commit
55df6bdb16
23 changed files with 4097 additions and 1 deletions
18
data_loader/src/septa_json/schedule_day.rs
Normal file
18
data_loader/src/septa_json/schedule_day.rs
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
use std::collections::{BTreeMap, HashMap, HashSet};
|
||||
|
||||
use crate::traits::*;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
|
||||
#[derive(Default, Debug, Serialize, Deserialize)]
|
||||
pub struct ScheduleDay {
|
||||
pub release_name: String,
|
||||
pub special: bool,
|
||||
pub service_id: Vec<String>,
|
||||
pub service_added: Vec<String>,
|
||||
pub service_removed: Vec<String>
|
||||
}
|
||||
|
||||
pub type Calendar = BTreeMap<String, ScheduleDay>;
|
||||
|
||||
impl SeptaJson for Calendar {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue