#[repr(C, packed(1))]pub struct TimeAdjustment {
pub old: DateTime,
pub new: DateTime,
}Expand description
A time adjustment (like daylight savings time)
Fields§
§old: DateTimeThe time to skip (skips directly to new time)
new: DateTimeThe time to skip to
Trait Implementations§
Source§impl Clone for TimeAdjustment
impl Clone for TimeAdjustment
Source§fn clone(&self) -> TimeAdjustment
fn clone(&self) -> TimeAdjustment
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TimeAdjustment
impl Debug for TimeAdjustment
Source§impl Hash for TimeAdjustment
impl Hash for TimeAdjustment
Source§impl PartialEq for TimeAdjustment
impl PartialEq for TimeAdjustment
impl Copy for TimeAdjustment
impl Eq for TimeAdjustment
impl StructuralPartialEq for TimeAdjustment
Auto Trait Implementations§
impl Freeze for TimeAdjustment
impl RefUnwindSafe for TimeAdjustment
impl Send for TimeAdjustment
impl Sync for TimeAdjustment
impl Unpin for TimeAdjustment
impl UnwindSafe for TimeAdjustment
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