pub struct BaziFlow {
pub date: String,
pub year: Pillar,
pub month: Pillar,
pub day: Pillar,
pub month_term: TermMoment,
}Expand description
The pillars of a date read against a chart.
Fields§
§date: StringThe date, YYYY-MM-DD.
year: PillarThe year’s pillar (流年), changing at 立春.
month: PillarThe month’s pillar (流月), changing at each jie term.
day: PillarThe day’s pillar (流日).
month_term: TermMomentThe jie term that opened the month.
Trait Implementations§
impl StructuralPartialEq for BaziFlow
Auto Trait Implementations§
impl Freeze for BaziFlow
impl RefUnwindSafe for BaziFlow
impl Send for BaziFlow
impl Sync for BaziFlow
impl Unpin for BaziFlow
impl UnsafeUnpin for BaziFlow
impl UnwindSafe for BaziFlow
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