From 9cb409de9baf903cef5d78226e5ddc307d9cc741 Mon Sep 17 00:00:00 2001 From: Drakulix Date: Mon, 26 Feb 2018 18:56:28 +0100 Subject: [PATCH] Add missing derives for AutoId --- src/backend/session/auto.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/session/auto.rs b/src/backend/session/auto.rs index c65d5ad..46bacde 100644 --- a/src/backend/session/auto.rs +++ b/src/backend/session/auto.rs @@ -75,9 +75,9 @@ pub enum BoundAutoSession { } /// Id's used by the `AutoSessionNotifier` internally. -#[derive(PartialEq, Eq)] +#[derive(Debug, PartialEq, Eq, Clone, Copy)] pub struct AutoId(AutoIdInternal); -#[derive(PartialEq, Eq)] +#[derive(Debug, PartialEq, Eq, Clone, Copy)] enum AutoIdInternal { #[cfg(feature = "backend_session_logind")] Logind(logind::Id),