1 2 3 4 5 6 7 8 9 10 11
use crate::prelude::*;
pub(crate) struct Report {
pub timestamp: u128,
pub name: String,
}
impl fmt::Debug for Report {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(f, r#"[{}, {:?}]"#, self.timestamp, self.name,)
}
}