Struct parse_zoneinfo::table::Table
source · pub struct Table {
pub rulesets: HashMap<String, Vec<RuleInfo>>,
pub zonesets: HashMap<String, Vec<ZoneInfo>>,
pub links: HashMap<String, String>,
}
Expand description
A table of all the data in one or more zoneinfo files.
Fields§
§rulesets: HashMap<String, Vec<RuleInfo>>
Mapping of ruleset names to rulesets.
zonesets: HashMap<String, Vec<ZoneInfo>>
Mapping of zoneset names to zonesets.
links: HashMap<String, String>
Mapping of link timezone names, to the names they link to.
Implementations§
Trait Implementations§
source§impl PartialEq for Table
impl PartialEq for Table
source§impl Structure for Table
impl Structure for Table
source§fn structure(&self) -> TableStructure<'_>
fn structure(&self) -> TableStructure<'_>
Returns an iterator over the structure of this table.
source§impl TableTransitions for Table
impl TableTransitions for Table
impl StructuralPartialEq for Table
Auto Trait Implementations§
impl Freeze for Table
impl RefUnwindSafe for Table
impl Send for Table
impl Sync for Table
impl Unpin for Table
impl UnwindSafe for Table
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more