pub enum AstronomyEventClass {
All,
Current,
DayLength,
Meridian,
Phase,
SetRise,
Twilight,
Twilight6,
Twilight12,
Twilight18,
}Expand description
All valid astronomy event classes.
Variants§
All
Combination of all known classes.
Current
The current phase for the place requested. Additional attributes for illumination (moon), azimuth, distance.
DayLength
Day length. Day length is not reported as an event, but as a separate attribute.
Meridian
Meridian (Noon, highest point) and Anti-Meridian (lowest point) events.
Phase
Moon phase events. Additionally to the phase events (only occurring on four days per lunar month), an additional attribute for the current moon phase is reported for every day.
SetRise
Set and rise events. Event times take atmospheric refraction into account.
Twilight
Combination of all 3 twilight classes.
Twilight6
Civil twilight (-6°).
Twilight12
Nautical twilight (-12°).
Twilight18
Astronomical twilight (-18°).
Trait Implementations§
Source§impl Debug for AstronomyEventClass
impl Debug for AstronomyEventClass
Source§impl<'de> Deserialize<'de> for AstronomyEventClass
impl<'de> Deserialize<'de> for AstronomyEventClass
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
Auto Trait Implementations§
impl Freeze for AstronomyEventClass
impl RefUnwindSafe for AstronomyEventClass
impl Send for AstronomyEventClass
impl Sync for AstronomyEventClass
impl Unpin for AstronomyEventClass
impl UnwindSafe for AstronomyEventClass
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