imag/libimagstore/src/header.rs

20 lines
254 B
Rust
Raw Normal View History

2016-01-12 17:50:57 +00:00
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
}
}