pub struct LunarStatus {Show 17 fields
pub phase_key: &'static str,
pub phase_name: &'static str,
pub phase_quarter: u8,
pub glyph: &'static str,
pub elongation: f64,
pub illumination_percentage: f64,
pub moon_age_days: f64,
pub is_waxing: bool,
pub moon_sign: &'static str,
pub moon_degree: i64,
pub moon_minute: i64,
pub moon_longitude: f64,
pub moon_house: u8,
pub moon_speed: f64,
pub speed_status: &'static str,
pub essential_dignity: &'static str,
pub lunar_mansion: LunarMansion,
}Expand description
Lunar phase, speed, dignity and mansion.
Fields§
§phase_key: &'static strPhase identifier, e.g. “waxing_gibbous”.
phase_name: &'static strPhase name, e.g. “Waxing Gibbous”.
phase_quarter: u8Quarter (1-4) the phase belongs to.
glyph: &'static strPhase emoji, e.g. “🌔”.
elongation: f64Moon’s longitude minus the Sun’s, degrees [0, 360).
illumination_percentage: f64Illuminated fraction of the disc, percent.
moon_age_days: f64Days since the new Moon (from the elongation and the mean synodic month).
is_waxing: boolWhether the elongation is below 180°.
moon_sign: &'static strSign of the Moon.
moon_degree: i64Whole degrees of the Moon within its sign.
moon_minute: i64Arc minutes past moon_degree.
moon_longitude: f64Moon’s ecliptic longitude in degrees.
moon_house: u8House (1-12) of the Moon.
moon_speed: f64Moon’s speed, degrees per day.
speed_status: &'static str“swift” (> 13.5°/day), “slow” (< 12.5°/day) or “average”.
essential_dignity: &'static str“Domicile”, “Exaltation”, “Detriment”, “Fall” or “Peregrine”.
lunar_mansion: LunarMansionLunar mansion the Moon is in.
Trait Implementations§
Source§impl Clone for LunarStatus
impl Clone for LunarStatus
Source§impl Debug for LunarStatus
impl Debug for LunarStatus
Source§impl PartialEq for LunarStatus
impl PartialEq for LunarStatus
Source§impl Serialize for LunarStatus
impl Serialize for LunarStatus
impl StructuralPartialEq for LunarStatus
Auto Trait Implementations§
impl Freeze for LunarStatus
impl RefUnwindSafe for LunarStatus
impl Send for LunarStatus
impl Sync for LunarStatus
impl Unpin for LunarStatus
impl UnsafeUnpin for LunarStatus
impl UnwindSafe for LunarStatus
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