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 {