many changes
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
4777f46a38
commit
be177af6cd
25 changed files with 2059 additions and 47 deletions
21
libseptastic/src/ridership.rs
Normal file
21
libseptastic/src/ridership.rs
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
use serde::{Deserialize, Serialize};
|
||||
|
||||
use crate::direction::CardinalDirection;
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
pub struct Ridership {
|
||||
pub route_id: String,
|
||||
pub stop_id: i64,
|
||||
pub direction: CardinalDirection,
|
||||
pub exp_ons: i64,
|
||||
pub exp_offs: i64,
|
||||
pub ons: i64,
|
||||
pub offs: i64,
|
||||
pub year: i64,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
pub struct LineRidership {
|
||||
pub route_id: String,
|
||||
pub unlinked_trips: i64
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue