pub struct Dst {
pub abbrev: Abbreviation,
pub offset: Offset,
pub rule: Rule,
}Expand description
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 Eq for Dst
impl StructuralPartialEq for Dst
Auto Trait Implementations§
impl Forget for Dst
impl Freeze for Dst
impl Move 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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more