1use serde::Deserialize; 2 3use crate::TimeInterval; 4 5// TODO Implement serialize once TimeInterval has implemented it 6#[derive(Deserialize, Clone, Debug)] 7pub struct Query { 8 //#[serde(with = "DurationSerialization")] 9 pub timeperiods: Vec<TimeInterval>, 10 pub query: Vec<String>, 11}