pub enum AdministrativeUnitKind {
Nation,
FederalState,
District,
Municipality,
}Expand description
The kinds of administrative units, roughly translating to levels.
Variants§
Nation
A nation (in German: “Staat”).
FederalState
A federal state inside a nation (in German: “Bundesland”).
District
A district (in German: “Bezirk”).
Municipality
A municipality (in German: “Gemeinde”).
Trait Implementations§
Source§impl Clone for AdministrativeUnitKind
impl Clone for AdministrativeUnitKind
Source§fn clone(&self) -> AdministrativeUnitKind
fn clone(&self) -> AdministrativeUnitKind
Returns a duplicate of the value. Read more
1.0.0 · 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 AdministrativeUnitKind
impl Debug for AdministrativeUnitKind
Source§impl<'de> Deserialize<'de> for AdministrativeUnitKind
impl<'de> Deserialize<'de> for AdministrativeUnitKind
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
Source§impl Ord for AdministrativeUnitKind
impl Ord for AdministrativeUnitKind
Source§fn cmp(&self, other: &AdministrativeUnitKind) -> Ordering
fn cmp(&self, other: &AdministrativeUnitKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AdministrativeUnitKind
impl PartialEq for AdministrativeUnitKind
Source§impl PartialOrd for AdministrativeUnitKind
impl PartialOrd for AdministrativeUnitKind
Source§impl Serialize for AdministrativeUnitKind
impl Serialize for AdministrativeUnitKind
impl Eq for AdministrativeUnitKind
impl StructuralPartialEq for AdministrativeUnitKind
Auto Trait Implementations§
impl Freeze for AdministrativeUnitKind
impl RefUnwindSafe for AdministrativeUnitKind
impl Send for AdministrativeUnitKind
impl Sync for AdministrativeUnitKind
impl Unpin for AdministrativeUnitKind
impl UnwindSafe for AdministrativeUnitKind
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