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
impl Clone for TrafficSignal
[src]
impl Clone for TrafficSignal
[src]fn clone(&self) -> TrafficSignal
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for TrafficSignal
[src]
impl<'de> Deserialize<'de> for TrafficSignal
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<TrafficSignal> for TrafficSignal
[src]
impl PartialEq<TrafficSignal> for TrafficSignal
[src]fn eq(&self, other: &TrafficSignal) -> bool
[src]
fn ne(&self, other: &TrafficSignal) -> bool
[src]
impl Serialize for TrafficSignal
[src]
impl Serialize for TrafficSignal
[src]