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: AbbreviationThe abbreviation to assign to civil datetimes when the daylight saving time rule is satisfied.
offset: OffsetThe offset from UTC that civil datetimes get when the daylight saving time rule is satisfied.
rule: RuleThe 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