summaryrefslogtreecommitdiff
path: root/src/clock.rs
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2024-10-24 19:49:54 -0400
committerOwen Jacobson <owen@grimoire.ca>2024-10-24 19:49:54 -0400
commitf9cbf95e5b850a7407c34f936c0f858520682a5d (patch)
tree31c67535f6e598b83dc3e752ce0a0727fc817fcd /src/clock.rs
parent461814e5174cef1be3e07b4e4069314e9bcbedd6 (diff)
Tests for retrieving invites
Diffstat (limited to 'src/clock.rs')
-rw-r--r--src/clock.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clock.rs b/src/clock.rs
index 9ffef82..242bcdf 100644
--- a/src/clock.rs
+++ b/src/clock.rs
@@ -12,7 +12,7 @@ pub type DateTime = chrono::DateTime<chrono::Utc>;
// calculated once per request, even if the extractor is used in multiple
// places. This requires the [middleware] function to be installed with
// [axum::middleware::from_fn] around the current route.
-#[derive(Clone)]
+#[derive(Debug, Clone)]
pub struct RequestedAt(pub DateTime);
impl RequestedAt {