time: derive Debug
This commit is contained in:
parent
b6b3376fb4
commit
1b08bc5f52
@ -1,5 +1,6 @@
|
|||||||
use std::time::{Instant, Duration};
|
use std::time::{Instant, Duration};
|
||||||
|
|
||||||
|
#[derive(Debug, Clone, Copy)]
|
||||||
pub struct Periodically {
|
pub struct Periodically {
|
||||||
last_run: Instant,
|
last_run: Instant,
|
||||||
duration: Duration
|
duration: Duration
|
||||||
|
Loading…
x
Reference in New Issue
Block a user