atuin/atuin-common/src/calendar.rs
2022-04-22 19:24:38 +01:00

16 lines
268 B
Rust

// Calendar data
use serde::{Serialize, Deserialize};
pub enum TimePeriod {
YEAR,
MONTH,
DAY,
}
#[derive(Debug, Serialize, Deserialize)]
pub struct TimePeriodInfo {
pub count: u64,
// TODO: Use this for merkle tree magic
pub hash: String,
}