use chrono::{DateTime, Utc};
use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct CustomSnapshot {
pub plan: Option<String>,
pub metrics: Vec<CustomMetric>,
pub texts: Vec<CustomText>,
}
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct CustomMetric {
pub label: String,
pub pct: u16,
pub footnote: String,
pub resets_at: Option<DateTime<Utc>>,
pub window_secs: Option<u64>,
}
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct CustomText {
pub label: String,
pub value: String,
}