grid_tariffs/load_type.rs
1use serde::Serialize;
2
3#[derive(Debug, Clone, Copy, Serialize)]
4#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
5pub enum LoadType {
6 /// Base load. Always counts
7 Base,
8 /// Low load period. Commonly counts during night hours and the summer half of the year
9 Low,
10 /// High load period. Commonly counts during daytime hours and the winter half of the year
11 High,
12}