use chrono::{DateTime, Utc}; use serde::{Deserialize, Serialize}; #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(rename_all = "PascalCase")] pub struct Substitutions { pub from: DateTime, pub to: DateTime, pub changes: Vec, } #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(rename_all = "PascalCase")] pub struct SubstitutionChange { pub change_subject: Option, //Unknown if string is the right type pub day: DateTime, pub hours: String, pub change_type: String, pub description: String, pub time: String, pub type_abbrev: Option, //Unknown if string is the right type, pub type_name: Option, //Unknown if string is the right type }