pub enum Offset {
Seconds(i64),
Months(i32),
HalfMonths(i32),
}Expand description
How far an element lies from the profile’s base time; negative is earlier.
Variants§
Seconds(i64)
Seconds (spacing in seconds, minutes, hours or days).
Months(i32)
Whole months.
HalfMonths(i32)
Half months.
Trait Implementations§
impl Copy for Offset
impl Eq for Offset
impl StructuralPartialEq for Offset
Auto Trait Implementations§
impl Forget for Offset
impl Freeze for Offset
impl Move for Offset
impl RefUnwindSafe for Offset
impl Send for Offset
impl Sync for Offset
impl Unpin for Offset
impl UnsafeUnpin 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