pub struct ZiWei {Show 14 fields
pub time_basis: &'static str,
pub zi_hour: &'static str,
pub lunar_date: LunarDate,
pub month: u8,
pub hour_branch: &'static str,
pub life_palace: &'static str,
pub body_palace: &'static str,
pub bureau: Bureau,
pub life_master: &'static str,
pub body_master: &'static str,
pub palaces: Vec<ZiWeiPalace>,
pub transformations: Vec<ZiWeiTransformation>,
pub decade_direction: Option<&'static str>,
pub horoscope: Option<ZiWeiHoroscope>,
}Expand description
The Purple Star chart of a birth.
Fields§
§time_basis: &'static str“solar” or “civil”: the clock the birth hour was taken on.
zi_hour: &'static str“next_day” or “split”.
lunar_date: LunarDateThe lunar date of birth.
month: u8The month the chart is cast with (a leap month may count as the next one).
hour_branch: &'static strThe birth hour’s branch.
life_palace: &'static strBranch of the life palace (命宮).
body_palace: &'static strBranch of the body palace (身宮).
bureau: BureauThe five-element bureau (五行局).
life_master: &'static strThe life master (命主), a star code.
body_master: &'static strThe body master (身主), a star code.
palaces: Vec<ZiWeiPalace>The twelve palaces, from the life palace in palace order.
transformations: Vec<ZiWeiTransformation>The four natal transformations, 祿 first.
decade_direction: Option<&'static str>“forward” or “backward” (through the branches) for the decade limits; None
without the native’s sex.
horoscope: Option<ZiWeiHoroscope>The horoscope of the requested year; None when none was asked for.
Trait Implementations§
impl StructuralPartialEq for ZiWei
Auto Trait Implementations§
impl Freeze for ZiWei
impl RefUnwindSafe for ZiWei
impl Send for ZiWei
impl Sync for ZiWei
impl Unpin for ZiWei
impl UnsafeUnpin for ZiWei
impl UnwindSafe for ZiWei
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