Struct map_model::objects::building::Amenity [−][src]
pub struct Amenity { pub names: NamePerLanguage, pub amenity_type: String, pub osm_tags: Tags, }
A business located inside a building.
Fields
names: NamePerLanguage
amenity_type: String
This is the specific amenity listed in OSM, not the more general AmenityType
category.
Depending on options while importing, these might be empty, to save file space.
Trait Implementations
impl<'de> Deserialize<'de> for Amenity
[src]
impl<'de> Deserialize<'de> for Amenity
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for Amenity
impl Send for Amenity
impl Sync for Amenity
impl Unpin for Amenity
impl UnwindSafe for Amenity
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,