summaryrefslogtreecommitdiffstats
path: root/atuin-server/src/calendar.rs
blob: 7c05dce388de83d0644115aff8b5850e56f1061b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Calendar data

use serde::{Deserialize, Serialize};

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,
}