pub struct Chart {Show 15 fields
pub schema_version: String,
pub input: ChartRequest,
pub calendar: CalendarResult,
pub method: Method,
pub conventions: Conventions,
pub dun: Dun,
pub yuan: Yuan,
pub ju: u8,
pub yuan_head: Cycle,
pub xun: Xun,
pub leaders: Leaders,
pub horse: Horse,
pub pillar_voids: PillarVoids,
pub palaces: [Palace; 9],
pub extensions: Option<ChartExtensions>,
}Expand description
A complete, reproducible, language-independent Qimen chart.
Fields§
§schema_version: StringStructural output-schema version, independent of the crate release.
input: ChartRequestThe exact validated civil input and its selected calendar conventions.
calendar: CalendarResultFour pillars, surrounding solar terms and lunar date.
method: MethodCalculation school and plate method.
conventions: ConventionsExplicit center-hosting, star and annotation conventions.
dun: DunYang or yin dun.
yuan: YuanFive-day upper, middle or lower yuan.
ju: u8Formation number, one through nine.
yuan_head: CycleFive-day 甲/己 head (符头) used to select the yuan.
xun: XunHour-period head, hidden stem and void branches.
leaders: LeadersDuty star and door with source and destination palaces.
horse: HorseHour-branch travelling horse.
pillar_voids: PillarVoidsVoid branches for each of the four pillars.
palaces: [Palace; 9]The nine palaces, always in numeric Luo Shu order, one through nine.
extensions: Option<ChartExtensions>Opt-in annotations and their named calculation rules; absent by default. These never alter the base calendar or rotating plates.