Enum convert_osm::OnstreetParking [−][src]
Expand description
What roads will have on-street parking lanes? Data from https://wiki.openstreetmap.org/wiki/Key:parking:lane is always used if available.
Variants
JustOSM
If not tagged, there won’t be parking.
Blockface(String)
Tuple Fields
0: String
If OSM data is missing, then try to match data from http://data-seattlecitygis.opendata.arcgis.com/datasets/blockface. This is Seattle specific.
SomeAdditionalWhereNoData
Fields
pct: usize
[0, 100]
If OSM data is missing, then infer parking lanes on some percentage of “highway=residential” roads.
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
Auto Trait Implementations
impl RefUnwindSafe for OnstreetParking
impl Send for OnstreetParking
impl Sync for OnstreetParking
impl Unpin for OnstreetParking
impl UnwindSafe for OnstreetParking
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self