pub enum Dst {
No,
Yes,
}Expand description
An enum indicating whether a particular datetime is in daylight saving time (DST) or not.
Variants§
Implementations§
Trait Implementations§
impl Copy for Dst
impl Eq for Dst
Source§impl Ord for Dst
impl Ord for Dst
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Dst
impl PartialOrd for Dst
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§
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