pub enum Continent {
Africa,
Antarctica,
Asia,
Europe,
NorthAmerica,
Oceania,
SouthAmerica,
Other(String),
}
Expand description
Continent.
Variants§
Africa
Antarctica
Asia
Europe
NorthAmerica
Oceania
SouthAmerica
Other(String)
A continent that is known, but not one of the above variants.
The Earth is not prone to spontaneously developing new continents, however names of continents might change. If the short name for a continent changes, this is how an unknown name would be reported.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Continent
impl<'de> Deserialize<'de> for Continent
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