aboutsummaryrefslogtreecommitdiffstats
path: root/crates/atuin-common/src/calendar.rs
blob: d3b1d9211713bd6019621879e0aa4f3660a3a120 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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,
}