From 1b08bc5f521228f932194a76fbf3f8f0bc61acec Mon Sep 17 00:00:00 2001 From: Victoria Fischer Date: Sat, 2 Nov 2024 15:18:41 +0100 Subject: [PATCH] time: derive Debug --- src/time.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/time.rs b/src/time.rs index b9c4de1..a59a2c7 100644 --- a/src/time.rs +++ b/src/time.rs @@ -1,5 +1,6 @@ use std::time::{Instant, Duration}; +#[derive(Debug, Clone, Copy)] pub struct Periodically { last_run: Instant, duration: Duration