imag/libimagstore/src/header.rs
2016-01-16 19:16:41 +01:00

20 lines
278 B
Rust

use toml::Table;
#[derive(Debug, Clone)]
pub struct EntryHeader {
toml: Table,
}
impl EntryHeader {
pub fn new(toml: Table) -> EntryHeader {
EntryHeader {
toml: toml,
}
}
pub fn toml(&self) -> &Table {
&self.toml
}
}