pub enum SetTime {
Omit,
Set(Duration),
Now,
}
Expand description
Supplies the value to set a time attribute to.
Variants§
Omit
Don’t change the time.
Set(Duration)
Set the time to the specified vale.
Now
Set the time to the current time.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SetTime
impl RefUnwindSafe for SetTime
impl Send for SetTime
impl Sync for SetTime
impl Unpin for SetTime
impl UnwindSafe for SetTime
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