1 2 3 4 5 6 7 8 9 10 11 12 13
use std::collections::HashMap; use chrono::{DateTime, Utc}; use serde::Serialize; use crate::Value; #[derive(Debug, Serialize)] pub(crate) struct EventData { pub(crate) data: HashMap<String, Value>, pub(crate) time: DateTime<Utc>, pub(crate) samplerate: usize, }