First set of commits for realtime support
This commit is contained in:
+4
-1
@@ -74,7 +74,10 @@ impl Preferences {
|
||||
|
||||
// The main GTFS struct. This is similar to (but not exactly) gtfs-structures::Gtfs because we don't need everything
|
||||
#[derive(Debug)]
|
||||
pub struct Gtfs {
|
||||
pub struct Gtfs<'a> {
|
||||
/// A copy of the preferences struct
|
||||
pub(crate) preferences: &'a Preferences,
|
||||
|
||||
/// All agencies. They can not be read by `agency_id`, as it is not a required field
|
||||
pub(crate) agencies: Vec<Agency>,
|
||||
/// All Calendar by `service_id`
|
||||
|
||||
Reference in New Issue
Block a user