Merge pull request #233 from matthiasbeyer/libimagstore/entry-header-get-header
EntryHeader: Function to get toml object
This commit is contained in:
commit
4f935c8ba1
1 changed files with 4 additions and 0 deletions
|
@ -351,6 +351,10 @@ impl EntryHeader {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn header(&self) -> &Value {
|
||||
&self.header
|
||||
}
|
||||
|
||||
fn from_table(t: Table) -> EntryHeader {
|
||||
EntryHeader {
|
||||
header: Value::Table(t)
|
||||
|
|
Loading…
Reference in a new issue