20 lines
254 B
Rust
20 lines
254 B
Rust
|
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
|
||
|
}
|
||
|
|
||
|
}
|