pub struct TimestampGenerator { /* private fields */ }Expand description
Generator for Unix timestamps (seconds since epoch)
Generates i64 timestamps that can be converted to SystemTime or used with datetime libraries
Implementations§
Trait Implementations§
Source§impl Clone for TimestampGenerator
impl Clone for TimestampGenerator
Source§impl Debug for TimestampGenerator
impl Debug for TimestampGenerator
Source§impl Generator<i64> for TimestampGenerator
impl Generator<i64> for TimestampGenerator
Auto Trait Implementations§
impl Freeze for TimestampGenerator
impl RefUnwindSafe for TimestampGenerator
impl Send for TimestampGenerator
impl Sync for TimestampGenerator
impl Unpin for TimestampGenerator
impl UnsafeUnpin for TimestampGenerator
impl UnwindSafe for TimestampGenerator
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