live tracking and filter
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-19 21:38:57 -04:00
parent 534c36b0f7
commit f5e0a31bb7
No known key found for this signature in database
GPG key ID: A9F3BA4C0AA7A70B
16 changed files with 414 additions and 115 deletions

View file

@ -16,5 +16,15 @@ pub struct Trip {
pub route_id: String,
pub trip_id: String,
pub direction_id: i64,
pub live_trip_data: Option<LiveTrip>,
pub schedule: Vec<StopSchedule>
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct LiveTrip {
pub delay: i64,
pub next_stop_id: i64,
pub timestamp: i64,
pub vehicle_id: String
}