We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5aa6237 commit 6f4b425Copy full SHA for 6f4b425
kirin_proto_doc.rs
@@ -28,6 +28,19 @@
28
// https://groups.google.com/d/forum/navitia
29
// www.navitia.io
30
31
+pub struct FeedMessage {
32
+ entity: Vec<FeedEntity>,
33
+}
34
+
35
+pub struct FeedEntity {
36
+ // Id of the disruption to be added/replaced
37
+ // For a same entity id, the last one emitted is always the most up-to-date
38
+ // (to sort and/or shortcut multiple FeedMessages to process).
39
+ id: String,
40
41
+ // Disruption on a dated-VehicleJourney
42
+ trip_update: Option<TripUpdate>,
43
44
45
pub struct TripUpdate {
46
trip: TripDescriptor,
0 commit comments