pub enum BuildingLocation {
Address {
municipality_part: MunicipalityPartCode,
house_number: String,
},
Parcel(ParcelIdentity),
}Expand description
The natural-key alternative for a building without a house number.
Variants§
Address
Municipality-part code and house number.
Fields
§
municipality_part: MunicipalityPartCodeMunicipality-part code.
Parcel(ParcelIdentity)
Identifying parcel for building types that have no house number.
Trait Implementations§
Source§impl Clone for BuildingLocation
impl Clone for BuildingLocation
Source§impl Debug for BuildingLocation
impl Debug for BuildingLocation
impl Eq for BuildingLocation
Source§impl PartialEq for BuildingLocation
impl PartialEq for BuildingLocation
impl StructuralPartialEq for BuildingLocation
Auto Trait Implementations§
impl Forget for BuildingLocation
impl Freeze for BuildingLocation
impl Move for BuildingLocation
impl RefUnwindSafe for BuildingLocation
impl Send for BuildingLocation
impl Sync for BuildingLocation
impl Unpin for BuildingLocation
impl UnsafeUnpin for BuildingLocation
impl UnwindSafe for BuildingLocation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.