Enum codes_un_m49::RegionKind
source · pub enum RegionKind {
Global,
Region,
SubRegion,
IntermediateRegion,
Country,
Area,
}Expand description
This enumeration is derived from the column headings in the M49 downloadable CSV file.
Variants§
Trait Implementations§
source§impl Clone for RegionKind
impl Clone for RegionKind
source§fn clone(&self) -> RegionKind
fn clone(&self) -> RegionKind
Returns a copy 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 RegionKind
impl Debug for RegionKind
source§impl<'de> Deserialize<'de> for RegionKind
impl<'de> Deserialize<'de> for RegionKind
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 Display for RegionKind
impl Display for RegionKind
source§impl FromStr for RegionKind
impl FromStr for RegionKind
source§impl Hash for RegionKind
impl Hash for RegionKind
source§impl PartialEq<RegionKind> for RegionKind
impl PartialEq<RegionKind> for RegionKind
source§fn eq(&self, other: &RegionKind) -> bool
fn eq(&self, other: &RegionKind) -> bool
This method tests for
self and other values to be equal, and is used
by ==.