pub struct DefaultClock;Expand description
Trait Implementations§
Source§impl Clock for &DefaultClock
impl Clock for &DefaultClock
Source§fn now(&self) -> PrimitiveDateTime
fn now(&self) -> PrimitiveDateTime
Returns the current date and time in your local timezone
(https://learn.microsoft.com/en-us/windows/win32/sysinfo/file-times)
Source§impl Clock for DefaultClock
impl Clock for DefaultClock
Source§fn now(&self) -> PrimitiveDateTime
fn now(&self) -> PrimitiveDateTime
Returns the current date and time in your local timezone
(https://learn.microsoft.com/en-us/windows/win32/sysinfo/file-times)
Source§impl Debug for DefaultClock
impl Debug for DefaultClock
Source§impl Default for DefaultClock
impl Default for DefaultClock
Source§fn default() -> DefaultClock
fn default() -> DefaultClock
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DefaultClock
impl RefUnwindSafe for DefaultClock
impl Send for DefaultClock
impl Sync for DefaultClock
impl Unpin for DefaultClock
impl UnwindSafe for DefaultClock
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