pub struct PlanetaryHours {
pub is_day: bool,
pub day_ruler: &'static str,
pub hour_ruler: &'static str,
pub hour_number: i64,
pub hour_type: &'static str,
pub sunrise: String,
pub sunset: String,
}Expand description
Planetary day and hour of a horary chart.
Fields§
§is_day: boolWhether the instant falls between sunrise and sunset.
day_ruler: &'static strPlanet ruling the day (from the weekday of sunrise).
hour_ruler: &'static strPlanet ruling the hour, in Chaldean order from the day ruler.
hour_number: i64Planetary hour (1-12) within the day or the night.
hour_type: &'static str“Day” or “Night”.
sunrise: StringSunrise, ISO 8601 UTC (06:00 when it cannot be computed).
sunset: StringSunset, ISO 8601 UTC (18:00 when it cannot be computed).
Trait Implementations§
Source§impl Clone for PlanetaryHours
impl Clone for PlanetaryHours
Source§impl Debug for PlanetaryHours
impl Debug for PlanetaryHours
Source§impl PartialEq for PlanetaryHours
impl PartialEq for PlanetaryHours
Source§impl Serialize for PlanetaryHours
impl Serialize for PlanetaryHours
impl StructuralPartialEq for PlanetaryHours
Auto Trait Implementations§
impl Freeze for PlanetaryHours
impl RefUnwindSafe for PlanetaryHours
impl Send for PlanetaryHours
impl Sync for PlanetaryHours
impl Unpin for PlanetaryHours
impl UnsafeUnpin for PlanetaryHours
impl UnwindSafe for PlanetaryHours
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