pub enum AstronomyObjectType {
Sun,
Moon,
Mercury,
Venus,
Mars,
Jupiter,
Saturn,
Uranus,
Neptune,
Pluto,
}
Expand description
All valid astronomy object types.
Variants§
Sun
The sun.
Moon
The moon.
Mercury
Mercury.
Venus
Venus.
Mars
Mars.
Jupiter
Jupiter.
Saturn
Saturn.
Uranus
Uranus.
Neptune
Neptune.
Pluto
Pluto.
Trait Implementations§
Source§impl Debug for AstronomyObjectType
impl Debug for AstronomyObjectType
Source§impl<'de> Deserialize<'de> for AstronomyObjectType
impl<'de> Deserialize<'de> for AstronomyObjectType
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AstronomyObjectType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AstronomyObjectType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for AstronomyObjectType
impl Serialize for AstronomyObjectType
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for AstronomyObjectType
impl RefUnwindSafe for AstronomyObjectType
impl Send for AstronomyObjectType
impl Sync for AstronomyObjectType
impl Unpin for AstronomyObjectType
impl UnwindSafe for AstronomyObjectType
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