[−][src]Struct parse_zoneinfo::table::Table
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.
Methods
impl Table
[src]
pub fn get_zoneset(&self, zone_name: &str) -> Option<&[ZoneInfo]>
[src]
Tries to find the zoneset with the given name by looking it up in either the zonesets map or the links map.
Trait Implementations
impl Debug for Table
[src]
impl Default for Table
[src]
impl PartialEq<Table> for Table
[src]
impl StructuralPartialEq for Table
[src]
impl Structure for Table
[src]
fn structure(&self) -> TableStructure
[src]
impl TableTransitions for Table
[src]
fn timespans(&self, zone_name: &str) -> Option<FixedTimespanSet>
[src]
Auto Trait Implementations
impl RefUnwindSafe for Table
impl Send for Table
impl Sync for Table
impl Unpin for Table
impl UnwindSafe for Table
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,