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
19
data_loader/src/septa_json/direction.rs
Normal file
19
data_loader/src/septa_json/direction.rs
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
use crate::traits::*;
|
||||
use serde::Deserialize;
|
||||
|
||||
|
||||
#[derive(Debug, Clone, Deserialize)]
|
||||
pub struct Direction {
|
||||
#[serde(rename="Route")]
|
||||
pub route: String,
|
||||
#[serde(rename="DirectionDescription")]
|
||||
pub direction_destination: String,
|
||||
#[serde(rename="Direction")]
|
||||
pub direction: String,
|
||||
#[serde(rename="TrueDirection")]
|
||||
pub true_direction: String,
|
||||
#[serde(rename="Mode")]
|
||||
pub mode: String
|
||||
}
|
||||
|
||||
impl SeptaJson for Direction {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue