pub struct JyotishOptions {
pub ayanamsa: String,
pub outer_planets: bool,
pub vargas: Option<Vec<u8>>,
pub hora: String,
pub dasha_year: String,
pub dasha_path: Vec<String>,
pub dasha_depth: usize,
pub date: Option<String>,
}Expand description
What jyotish computes; every field is optional in JSON.
Fields§
§ayanamsa: StringAyanamsa code from the catalog (default “lahiri”); unknown codes are an error.
outer_planets: boolAlso list Uranus, Neptune and Pluto (default false).
vargas: Option<Vec<u8>>The vargas, by division (default all of VARGAS).
hora: StringThe hora (D2): “parashara” (default) or “cyclic”.
dasha_year: StringThe dasha year: “julian” (365.25 days, default), “gregorian”, “sidereal” or “savana”.
dasha_path: Vec<String>The lords from a mahadasha down whose subperiods to list (default: the mahadashas).
dasha_depth: usizeLevels of the dasha tree below dasha_path, 1 to 3 (default 2).
date: Option<String>List the dasha periods running at this moment (ISO 8601 UTC).
Trait Implementations§
Source§impl Clone for JyotishOptions
impl Clone for JyotishOptions
Source§impl Debug for JyotishOptions
impl Debug for JyotishOptions
Source§impl Default for JyotishOptions
impl Default for JyotishOptions
Source§impl<'de> Deserialize<'de> for JyotishOptionswhere
JyotishOptions: Default,
impl<'de> Deserialize<'de> for JyotishOptionswhere
JyotishOptions: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for JyotishOptions
impl PartialEq for JyotishOptions
impl StructuralPartialEq for JyotishOptions
Auto Trait Implementations§
impl Freeze for JyotishOptions
impl RefUnwindSafe for JyotishOptions
impl Send for JyotishOptions
impl Sync for JyotishOptions
impl Unpin for JyotishOptions
impl UnsafeUnpin for JyotishOptions
impl UnwindSafe for JyotishOptions
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