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 for Offset
impl PartialEq for Offset
impl Eq for Offset
impl StructuralPartialEq for Offset
Auto Trait Implementations§
impl Freeze for Offset
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)