Enum parse_zoneinfo::table::Saving
[−]
[src]
pub enum Saving { NoSaving, OneOff(i64), Multiple(String), }
The amount of daylight saving time (DST) to apply to this timespan. This is a special type for a certain field in a zone line, which can hold different types of value.
This is the owned version of the Saving
type in the line
module.
Variants
NoSaving
Just stick to the base offset.
OneOff(i64)
This amount of time should be saved while this timespan is in effect. (This is the equivalent to there being a single one-off rule with the given amount of time to save).
Multiple(String)
All rules with the given name should apply while this timespan is in effect.
Trait Implementations
impl PartialEq for Saving
[src]
fn eq(&self, __arg_0: &Saving) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Saving) -> bool
This method tests for !=
.