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
source§impl PartialEq for Continent
impl PartialEq for Continent
impl Eq for Continent
impl StructuralEq for Continent
impl StructuralPartialEq for Continent
Auto Trait Implementations§
impl RefUnwindSafe for Continent
impl Send for Continent
impl Sync for Continent
impl Unpin for Continent
impl UnwindSafe for Continent
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