summaryrefslogtreecommitdiffstats
path: root/crates/core/tedge_mapper/src/c8y/topic.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/core/tedge_mapper/src/c8y/topic.rs')
-rw-r--r--crates/core/tedge_mapper/src/c8y/topic.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/core/tedge_mapper/src/c8y/topic.rs b/crates/core/tedge_mapper/src/c8y/topic.rs
index 7df4f5af..d8faebb7 100644
--- a/crates/core/tedge_mapper/src/c8y/topic.rs
+++ b/crates/core/tedge_mapper/src/c8y/topic.rs
@@ -3,7 +3,7 @@ use agent_interface::TopicError;
use mqtt_channel::MqttError;
use mqtt_channel::Topic;
-#[derive(Debug, Clone, PartialEq)]
+#[derive(Debug, Clone, Eq, PartialEq)]
pub enum C8yTopic {
SmartRestRequest,
SmartRestResponse,
@@ -59,7 +59,7 @@ impl TryFrom<Topic> for C8yTopic {
}
}
-#[derive(Debug, Clone, PartialEq)]
+#[derive(Debug, Clone, Eq, PartialEq)]
pub enum MapperSubscribeTopic {
C8yTopic(C8yTopic),
ResponseTopic(ResponseTopic),