pub struct ChartRequest<'a> {
pub instant: UtcInstant,
pub latitude: f64,
pub longitude: f64,
pub house_system: &'a str,
pub zodiac_type: &'a str,
pub ayanamsa: &'a str,
pub orb_settings: Option<&'a Value>,
pub dignity_scheme: &'a str,
pub node_type: &'a str,
pub chinese_calendar: bool,
pub vedic_calendar: bool,
}Expand description
What to compute.
Fields§
§instant: UtcInstantMoment of the chart.
latitude: f64Geographic latitude in degrees, north positive.
longitude: f64Geographic longitude in degrees, east positive.
house_system: &'a strHouse system code, echoed as given; its first letter selects the system.
zodiac_type: &'a str“tropical” or “sidereal” (anything else is tropical).
ayanamsa: &'a strAyanamsa code for sidereal charts (unknown codes use the default).
orb_settings: Option<&'a Value>Caller orb settings, merged over the defaults.
dignity_scheme: &'a strDoctrine of triplicities and bounds: “lilly” (default) or “dorothean”.
node_type: &'a strLunar nodes: “mean” (default) or “true” (osculating).
chinese_calendar: boolAlso compute the ChineseCalendar of the moment (default false): a few dozen
solar-term and new-moon searches.
vedic_calendar: boolAlso compute the VedicCalendar (panchanga) of the moment and place (default
false): a sunrise and a dozen anga and new-moon searches.
Implementations§
Source§impl<'a> ChartRequest<'a>
impl<'a> ChartRequest<'a>
Sourcepub fn new(instant: UtcInstant, latitude: f64, longitude: f64) -> Self
pub fn new(instant: UtcInstant, latitude: f64, longitude: f64) -> Self
A tropical Placidus request with default orbs.