mirror of
https://github.com/atuinsh/atuin.git
synced 2025-01-30 18:19:51 +01:00
17 lines
268 B
Rust
17 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,
|
|
}
|