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
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
Auto Trait Implementations
impl RefUnwindSafe for Continent
impl UnwindSafe for Continent
Blanket Implementations
Mutably borrows from an owned value. Read more