pub struct ZiWeiOptions<'a> {
pub solar_time: bool,
pub zi_hour: &'a str,
pub sex: Option<&'a str>,
pub leap_month: &'a str,
pub year: Option<i32>,
pub date: Option<&'a str>,
}Expand description
How to cast the chart.
Fields§
§solar_time: boolTake the birth hour on true solar time at the birthplace (true, the default) or on
civil time, as for the Four Pillars.
zi_hour: &'a str“next_day” (default): from 23:00 the birth counts on the next lunar day; “split”: the day changes at midnight.
sex: Option<&'a str>“male” or “female”: sets the direction of the decade and small limits, which are left out without it.
leap_month: &'a str“split” (default): a birth after the 15th of a leap month counts in the next month; “same”: every day of a leap month counts in the month it repeats.
year: Option<i32>A lunar year to cast the horoscope (decade, small limit, year) for.
date: Option<&'a str>A date, YYYY-MM-DD, to cast the horoscope for down to its month (流月) and day
(流日); its lunar year replaces year. Dates from the lunar years 1900 to 2100.
Trait Implementations§
Source§impl<'a> Clone for ZiWeiOptions<'a>
impl<'a> Clone for ZiWeiOptions<'a>
Source§impl<'a> Debug for ZiWeiOptions<'a>
impl<'a> Debug for ZiWeiOptions<'a>
Auto Trait Implementations§
impl<'a> Freeze for ZiWeiOptions<'a>
impl<'a> RefUnwindSafe for ZiWeiOptions<'a>
impl<'a> Send for ZiWeiOptions<'a>
impl<'a> Sync for ZiWeiOptions<'a>
impl<'a> Unpin for ZiWeiOptions<'a>
impl<'a> UnsafeUnpin for ZiWeiOptions<'a>
impl<'a> UnwindSafe for ZiWeiOptions<'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