Add EntryHeader type for store

This commit is contained in:
Matthias Beyer 2016-01-12 18:50:57 +01:00
parent a6cc103584
commit ac1dd3e7f3

View file

@ -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
}
}