diff --git a/kirin_proto_doc.rs b/kirin_proto_doc.rs index 64d9892..1a6f873 100644 --- a/kirin_proto_doc.rs +++ b/kirin_proto_doc.rs @@ -28,6 +28,19 @@ // https://groups.google.com/d/forum/navitia // www.navitia.io +pub struct FeedMessage { + entity: Vec, +} + +pub struct FeedEntity { + // Id of the disruption to be added/replaced + // For a same entity id, the last one emitted is always the most up-to-date + // (to sort and/or shortcut multiple FeedMessages to process). + id: String, + + // Disruption on a dated-VehicleJourney + trip_update: Option, +} pub struct TripUpdate { trip: TripDescriptor,