conundrum_db 0.1.1

Be less dum.
1
2
3
4
5
6
7
8
9
use conundrum_lang::lifted_models::primitives::date_time::DateTime;

#[derive(serde::Serialize, serde::Deserialize, Clone, Debug, specta::Type)]
pub struct TimeBlock {
    /// The time the event starts.
    pub start: DateTime,
    /// The time the event ends, or is projected to end.
    pub end: Option<DateTime>,
}