many changes
Some checks failed
Create and publish a Docker image / build-and-push-image (push) Has been cancelled

This commit is contained in:
Nicholas Orlowsky 2025-09-12 19:08:22 -04:00
parent 4777f46a38
commit be177af6cd
No known key found for this signature in database
GPG key ID: A9F3BA4C0AA7A70B
25 changed files with 2059 additions and 47 deletions

View 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
}