diff --git a/libimagstore/src/header.rs b/libimagstore/src/header.rs new file mode 100644 index 00000000..738807dd --- /dev/null +++ b/libimagstore/src/header.rs @@ -0,0 +1,19 @@ +use toml::Table; + +pub struct EntryHeader { + toml: Table, +} + +impl EntryHeader { + + pub fn new(toml: Table) -> EntryHeader { + EntryHeader { + toml: toml, + } + } + + pub fn toml(&self) -> &Table { + &self.toml + } + +}