Struct traffic_signal_data::TrafficSignal [−][src]
Fields
intersection_osm_node_id: i64
The ID of the OSM node representing the intersection with the traffic signal. This node
should be tagged highway = traffic_signals
in OSM.
TODO Describe how consolidated intersections are handled.
plans: Vec<Plan>
The traffic signal uses configuration from one plan at a time. The plans must be listed in
order of ascending start_time_seconds
, the first plan must begin at 0
(midnight), and
the last plan must not start after 24 hours.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TrafficSignal
impl Send for TrafficSignal
impl Sync for TrafficSignal
impl Unpin for TrafficSignal
impl UnwindSafe for TrafficSignal
Blanket Implementations
Mutably borrows from an owned value. Read more