summaryrefslogtreecommitdiff
path: root/src/clock.rs
diff options
context:
space:
mode:
authorKit La Touche <kit@transneptune.net>2024-10-25 22:16:03 -0400
committerKit La Touche <kit@transneptune.net>2024-10-25 22:16:03 -0400
commita50911a03c8955e08c77b0f3764dbda963013971 (patch)
tree9f5319191438b85b860ba06c9a203d3f129072a1 /src/clock.rs
parent4c49283553f4b18bb2a74de280b340a073e3253e (diff)
parentc87b5c53077c02bf21234e24bf976aa7a5f2bac8 (diff)
Merge branch 'main' into wip/mobile
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 {