pub struct TransitChart {
pub transit_planets: Vec<Placement>,
pub transit_houses: Vec<HouseCusp>,
pub cross_aspects: Vec<CrossAspect>,
pub transit_datetime: String,
pub transit_lat: f64,
pub transit_lon: f64,
pub zodiac_type: &'static str,
pub ayanamsa: Option<&'static str>,
pub ayanamsa_name: Option<&'static str>,
pub ayanamsa_value: Option<f64>,
pub ayanamsa_formatted: Option<String>,
}Expand description
Transits to a natal chart (calculate_transit_chart).
Fields§
§transit_planets: Vec<Placement>Transiting bodies and angles.
transit_houses: Vec<HouseCusp>House cusps at the transit time and place.
cross_aspects: Vec<CrossAspect>Aspects from transiting (overlay) to natal (base) points.
transit_datetime: StringTransit instant, ISO 8601 UTC.
transit_lat: f64Transit latitude in degrees, north positive.
transit_lon: f64Transit longitude in degrees, east positive.
zodiac_type: &'static str“tropical” or “sidereal”.
ayanamsa: Option<&'static str>Ayanamsa code; None for tropical charts.
ayanamsa_name: Option<&'static str>Human-readable ayanamsa name; None for tropical charts.
ayanamsa_value: Option<f64>Ayanamsa at the chart instant, in degrees; None for tropical charts.
ayanamsa_formatted: Option<String>ayanamsa_value as degrees, minutes and seconds; None for tropical charts.
Trait Implementations§
Source§impl Clone for TransitChart
impl Clone for TransitChart
Source§impl Debug for TransitChart
impl Debug for TransitChart
Source§impl PartialEq for TransitChart
impl PartialEq for TransitChart
Source§impl Serialize for TransitChart
impl Serialize for TransitChart
impl StructuralPartialEq for TransitChart
Auto Trait Implementations§
impl Freeze for TransitChart
impl RefUnwindSafe for TransitChart
impl Send for TransitChart
impl Sync for TransitChart
impl Unpin for TransitChart
impl UnsafeUnpin for TransitChart
impl UnwindSafe for TransitChart
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