Struct Dst

pub struct Dst { pub abbrev: Abbreviation, pub offset: Offset, pub rule: Rule }

The time zone transition rule along with its abbreviation and offset.

Fields

abbrev: Abbreviation

The abbreviation to assign to civil datetimes when the daylight saving time rule is satisfied.

offset: Offset

The offset from UTC that civil datetimes get when the daylight saving time rule is satisfied.

rule: Rule

The actual rule.

Trait Implementations

impl Clone for Dst

fn clone(&self) -> Self

impl Debug for Dst

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for Dst

impl PartialEq for Dst

fn eq(&self, other: &Self) -> bool

impl StructuralPartialEq for Dst

Auto Trait Implementations

impl Freeze for Dst

impl RefUnwindSafe for Dst

impl Send for Dst

impl Sync for Dst

impl Unpin for Dst

impl UnsafeUnpin for Dst

impl UnwindSafe for Dst

Blanket Implementations

impl<T> Any for Dst where T: 'static + ?Sized,

impl<T> Borrow<T> for Dst where T: ?Sized,

impl<T> BorrowMut<T> for Dst where T: ?Sized,

impl<T> CloneToUninit for Dst where T: Clone,

impl<T> From<T> for Dst

impl<T> ToOwned for Dst where T: Clone,

impl<T, U> Into<U> for Dst where U: From<T>,

impl<T, U> TryFrom<U> for Dst where U: Into<T>,

impl<T, U> TryInto<U> for Dst where U: TryFrom<T>,