16 lines
268 B
Rust
16 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,
|
|
}
|