Add missing derives for AutoId

This commit is contained in:
Drakulix 2018-02-26 18:56:28 +01:00
parent d8a5acef77
commit 9cb409de9b
1 changed files with 2 additions and 2 deletions

View File

@ -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),