aboutsummaryrefslogtreecommitdiffstats
path: root/crates/turtle/src/atuin_common/calendar.rs
blob: befe8c2e77d95b1752ab078ee82e0e32a1c3bc02 (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(crate) enum TimePeriod {
    YEAR,
    MONTH,
    DAY,
}

#[derive(Debug, Serialize, Deserialize)]
pub(crate) struct TimePeriodInfo {
    pub(crate) count: u64,

    // TODO: Use this for merkle tree magic
    pub(crate) hash: String,
}