8655c93853
* refactor server to allow pluggable db and tracing * clean up * fix descriptions * remove dependencies
17 lines
269 B
Rust
17 lines
269 B
Rust
// 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,
|
|
}
|