tiempo-rs/src/models.rs

18 lines
287 B
Rust
Raw Normal View History

2021-06-21 11:12:30 -05:00
use chrono::{DateTime, Utc};
2021-06-21 17:38:51 -05:00
#[derive(Debug)]
2021-06-21 11:12:30 -05:00
pub struct Entry {
pub id: u64,
pub note: String,
pub start: DateTime<Utc>,
pub end: DateTime<Utc>,
pub sheet: String,
}
2021-06-21 17:38:51 -05:00
#[derive(Debug)]
2021-06-21 11:12:30 -05:00
pub struct Meta {
pub id: u64,
pub key: String,
pub value: String,
}