EntryHeader: Function to get toml object
This commit is contained in:
parent
a6406d6b88
commit
257fe1880e
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