Enum convert_osm::OnstreetParking[][src]

pub enum OnstreetParking {
    JustOSM,
    Blockface(String),
    SomeAdditionalWhereNoData {
        pct: usize,
    },
}

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)

If OSM data is missing, then try to match data from http://data-seattlecitygis.opendata.arcgis.com/datasets/blockface. This is Seattle specific.

SomeAdditionalWhereNoData

If OSM data is missing, then infer parking lanes on some percentage of “highway=residential” roads.

Fields of SomeAdditionalWhereNoData

pct: usize

[0, 100]

Trait Implementations

impl Clone for OnstreetParking[src]

impl<'de> Deserialize<'de> for OnstreetParking[src]

impl Serialize for OnstreetParking[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,