pub enum Ambiguity {
Exact {
offset: i32,
},
Fold {
earlier: i32,
later: i32,
},
Gap {
before: i32,
after: i32,
},
}Expand description
Describes how a civil time maps to UTC offsets in a time zone.
Variants§
Exact
Exactly one offset applies.
Fold
A fold: the civil time occurs twice.
Gap
A gap: the civil time does not exist.
Trait Implementations§
impl Copy for Ambiguity
impl Eq for Ambiguity
impl StructuralPartialEq for Ambiguity
Auto Trait Implementations§
impl Freeze for Ambiguity
impl RefUnwindSafe for Ambiguity
impl Send for Ambiguity
impl Sync for Ambiguity
impl Unpin for Ambiguity
impl UnsafeUnpin for Ambiguity
impl UnwindSafe for Ambiguity
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