add files and tracking
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 5m33s
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 5m33s
This commit is contained in:
parent
cc301dd1b8
commit
2d8f131b91
12 changed files with 176 additions and 3928 deletions
8
libseptastic/src/agency.rs
Normal file
8
libseptastic/src/agency.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
use serde::{Deserialize, Serialize};
|
||||
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
pub struct Agency {
|
||||
pub id: String,
|
||||
pub name: String
|
||||
}
|
||||
|
|
@ -31,6 +31,10 @@ pub struct LiveTrip {
|
|||
pub next_stop_id: Option<i64>,
|
||||
pub timestamp: i64,
|
||||
pub vehicle_ids: Vec<String>,
|
||||
pub latitude: Option<f64>,
|
||||
pub longitude: Option<f64>,
|
||||
pub heading: Option<f64>,
|
||||
pub seat_availability: Option<String>,
|
||||
pub trip_id: String,
|
||||
pub route_id: String,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue