pub enum KnownCityObjectType {
Show 33 variants
Bridge,
BridgePart,
BridgeInstallation,
BridgeConstructiveElement,
BridgeRoom,
BridgeFurniture,
Building,
BuildingPart,
BuildingInstallation,
BuildingConstructiveElement,
BuildingFurniture,
BuildingStorey,
BuildingRoom,
BuildingUnit,
CityFurniture,
CityObjectGroup,
GenericCityObject,
LandUse,
OtherConstruction,
PlantCover,
SolitaryVegetationObject,
TINRelief,
Road,
Railway,
Waterway,
TransportSquare,
Tunnel,
TunnelPart,
TunnelInstallation,
TunnelConstructiveElement,
TunnelHollowSpace,
TunnelFurniture,
WaterBody,
}Expand description
The known 1st- and 2nd-level City Object types (§ 2 The different City
Objects). Every variant is a unit variant and every identifier is already
spelled exactly as the spec requires (eg TINRelief, WaterBody,
CityFurniture), so serde’s default (non-untagged) derive collapses each
one to its bare name string with no #[serde(rename)] needed.
Variants§
Bridge
BridgePart
BridgeInstallation
BridgeConstructiveElement
BridgeRoom
BridgeFurniture
Building
BuildingPart
BuildingInstallation
BuildingConstructiveElement
BuildingFurniture
BuildingStorey
BuildingRoom
BuildingUnit
CityFurniture
CityObjectGroup
GenericCityObject
LandUse
OtherConstruction
PlantCover
SolitaryVegetationObject
TINRelief
Road
Railway
Waterway
TransportSquare
Tunnel
TunnelPart
TunnelInstallation
TunnelConstructiveElement
TunnelHollowSpace
TunnelFurniture
WaterBody
Trait Implementations§
Source§impl Clone for KnownCityObjectType
impl Clone for KnownCityObjectType
Source§fn clone(&self) -> KnownCityObjectType
fn clone(&self) -> KnownCityObjectType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KnownCityObjectType
impl Debug for KnownCityObjectType
Source§impl<'de> Deserialize<'de> for KnownCityObjectType
impl<'de> Deserialize<'de> for KnownCityObjectType
Source§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
impl Eq for KnownCityObjectType
Source§impl Hash for KnownCityObjectType
impl Hash for KnownCityObjectType
Source§impl PartialEq for KnownCityObjectType
impl PartialEq for KnownCityObjectType
Source§impl Serialize for KnownCityObjectType
impl Serialize for KnownCityObjectType
impl StructuralPartialEq for KnownCityObjectType
Auto Trait Implementations§
impl Freeze for KnownCityObjectType
impl RefUnwindSafe for KnownCityObjectType
impl Send for KnownCityObjectType
impl Sync for KnownCityObjectType
impl Unpin for KnownCityObjectType
impl UnsafeUnpin for KnownCityObjectType
impl UnwindSafe for KnownCityObjectType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more