pub struct NullTimeProvider { /* private fields */ }
Expand description
TimeProvider
implementation that always returns DOS minimal date-time (1980-01-01 00:00:00).
Implementations§
Trait Implementations§
Source§impl Clone for NullTimeProvider
impl Clone for NullTimeProvider
Source§fn clone(&self) -> NullTimeProvider
fn clone(&self) -> NullTimeProvider
Returns a copy 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 NullTimeProvider
impl Debug for NullTimeProvider
Source§impl TimeProvider for NullTimeProvider
impl TimeProvider for NullTimeProvider
fn get_current_date(&self) -> Date
fn get_current_date_time(&self) -> DateTime
impl Copy for NullTimeProvider
Auto Trait Implementations§
impl Freeze for NullTimeProvider
impl RefUnwindSafe for NullTimeProvider
impl Send for NullTimeProvider
impl Sync for NullTimeProvider
impl Unpin for NullTimeProvider
impl UnwindSafe for NullTimeProvider
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)