pub struct Timechange {
pub time: DateTime<Utc>,
pub gmtoff: isize,
pub isdst: bool,
pub abbreviation: String,
}Expand description
The Timechange struct contains one timechange from the parsed TZfile.
Fields§
§time: DateTime<Utc>The UTC time and date of the timechange, BEFORE new parameters apply
gmtoff: isizeThe UPCOMING offset to GMT
isdst: boolIs upcoming change dst ?
abbreviation: StringTZ abbreviation of upcoming change
Trait Implementations§
Source§impl Debug for Timechange
impl Debug for Timechange
Source§impl PartialEq for Timechange
impl PartialEq for Timechange
impl StructuralPartialEq for Timechange
Auto Trait Implementations§
impl Freeze for Timechange
impl RefUnwindSafe for Timechange
impl Send for Timechange
impl Sync for Timechange
impl Unpin for Timechange
impl UnwindSafe for Timechange
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