pub enum Offset {
Z,
Custom {
hours: i8,
minutes: u8,
},
}
Expand description
A parsed TOML time offset
Variants§
Z
A suffix which, when applied to a time, denotes a UTC offset of 00:00; often spoken “Zulu” from the ICAO phonetic alphabet representation of the letter “Z”. — RFC 3339 section 2
Custom
Offset between local time and UTC
Trait Implementations§
source§impl PartialEq<Offset> for Offset
impl PartialEq<Offset> for Offset
impl Eq for Offset
impl StructuralEq for Offset
impl StructuralPartialEq for Offset
Auto Trait Implementations§
impl RefUnwindSafe for Offset
impl Send for Offset
impl Sync for Offset
impl Unpin for Offset
impl UnwindSafe for Offset
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