Compare scheduled, deadline, and closed.

This commit is contained in:
Tom Alexander
2023-10-02 20:25:08 -04:00
parent 01c2f1bf66
commit 2e1a946ac9
3 changed files with 97 additions and 13 deletions

View File

@@ -1,6 +1,7 @@
use super::object::Object;
use super::PlainText;
use super::StandardProperties;
use super::Timestamp;
#[derive(Debug)]
pub struct Paragraph<'s> {
@@ -72,6 +73,9 @@ pub struct DiarySexp<'s> {
#[derive(Debug)]
pub struct Planning<'s> {
pub source: &'s str,
pub scheduled: Option<Timestamp<'s>>,
pub deadline: Option<Timestamp<'s>>,
pub closed: Option<Timestamp<'s>>,
}
#[derive(Debug)]