[][src]Enum parse_zoneinfo::table::Saving

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 Debug for Saving[src]

impl PartialEq<Saving> for Saving[src]

impl StructuralPartialEq for Saving[src]

Auto Trait Implementations

impl RefUnwindSafe for Saving

impl Send for Saving

impl Sync for Saving

impl Unpin for Saving

impl UnwindSafe for Saving

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.