summaryrefslogtreecommitdiffstats
path: root/atuin-server/src/calendar.rs
blob: 22f4d60ff092eb9d5c03a2ab65b55ded08709aba (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,
}