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>,
}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.
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.
Trait Implementations§
Source§impl<'a> Clone for ChartRequest<'a>
impl<'a> Clone for ChartRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for ChartRequest<'a>
impl<'a> RefUnwindSafe for ChartRequest<'a>
impl<'a> Send for ChartRequest<'a>
impl<'a> Sync for ChartRequest<'a>
impl<'a> Unpin for ChartRequest<'a>
impl<'a> UnsafeUnpin for ChartRequest<'a>
impl<'a> UnwindSafe for ChartRequest<'a>
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