pub struct SeasonMap {
pub cycle_type: SeasonCycleType,
pub seasons: Vec<SeasonDefinition>,
}Expand description
Complete season definitions including cycle type and all season entries.
The SeasonMap is the resolved representation of the season_definitions
section in stages.json. It provides the season-to-calendar mapping
consumed by the PAR model and inflow history aggregation.
Source: stages.json season_definitions.
See Input Scenarios §1.1.
Fields§
§cycle_type: SeasonCycleTypeCycle type controlling how season IDs map to calendar periods.
seasons: Vec<SeasonDefinition>Season entries sorted by id. Length depends on cycle_type:
12 for Monthly, 52 for Weekly, user-defined for Custom.
Trait Implementations§
impl StructuralPartialEq for SeasonMap
Auto Trait Implementations§
impl Freeze for SeasonMap
impl RefUnwindSafe for SeasonMap
impl Send for SeasonMap
impl Sync for SeasonMap
impl Unpin for SeasonMap
impl UnsafeUnpin for SeasonMap
impl UnwindSafe for SeasonMap
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