pub(crate) enum Colon {
Optional,
Required,
Absent,
}
Expand description
How to handle parsing of colons in a time zone offset.
Variants§
Optional
Colons may be present or not. When present, colons must be used
consistently. For example, +05:3015
and -0530:15
are not allowed.
Required
Colons must be present.
Absent
Colons must be absent.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Colon
impl RefUnwindSafe for Colon
impl Send for Colon
impl Sync for Colon
impl Unpin for Colon
impl UnwindSafe for Colon
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