From a83329acd86aedeaf822115cec99763dd833bfea Mon Sep 17 00:00:00 2001 From: Darksome Date: Mon, 1 Jul 2024 13:36:04 +0000 Subject: [PATCH] fix: missing derives --- crates/metrics/src/label.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/metrics/src/label.rs b/crates/metrics/src/label.rs index bdff0eb..84bf2a5 100644 --- a/crates/metrics/src/label.rs +++ b/crates/metrics/src/label.rs @@ -145,6 +145,7 @@ where /// /// type MyLabel = BoolLabel<{ label_name("my_label") }>; /// ``` +#[derive(Clone, Copy, Debug)] pub struct BoolLabel(bool); impl BoolLabel { @@ -216,6 +217,7 @@ where /// /// type MyLabel = StringLabel<{ label_name("my_label") }>; /// ``` +#[derive(Clone, Copy, Debug)] pub struct StringLabel(pub T); impl StringLabel {