diff --git a/src/mgmt.rs b/src/mgmt.rs index cd2457f..55e71d4 100644 --- a/src/mgmt.rs +++ b/src/mgmt.rs @@ -25,6 +25,19 @@ pub struct Inventory { pub avg_word_count: f64, } +/// Represents the front-matter metadata included within each entry. Does not necessarily have to be associated with any real diary entry. +#[derive(Debug)] +pub struct Metadata { + timestamp: String, + timezone: String, +} + +impl Metadata { + pub fn read_from_entry(contents: String) { + + } +} + /// Represents a single diary entry (markdown file) and its associated stats/metadata /// /// Does not include the actual contents of the entry, only stats