summaryrefslogtreecommitdiffstats
path: root/crates/core/c8y_smartrest/src/operations.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/core/c8y_smartrest/src/operations.rs')
-rw-r--r--crates/core/c8y_smartrest/src/operations.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/core/c8y_smartrest/src/operations.rs b/crates/core/c8y_smartrest/src/operations.rs
index ea0202b7..536526c7 100644
--- a/crates/core/c8y_smartrest/src/operations.rs
+++ b/crates/core/c8y_smartrest/src/operations.rs
@@ -11,7 +11,7 @@ use serde::Deserialize;
/// Each operation is a file name in one of the subdirectories
/// The file name is the operation name
-#[derive(Debug, Clone, Deserialize, PartialEq)]
+#[derive(Debug, Clone, Deserialize, Eq, PartialEq)]
#[serde(rename_all = "snake_case")]
pub struct OnMessageExec {
command: Option<String>,
@@ -20,7 +20,7 @@ pub struct OnMessageExec {
user: Option<String>,
}
-#[derive(Debug, Clone, Deserialize, PartialEq)]
+#[derive(Debug, Clone, Deserialize, Eq, PartialEq)]
#[serde(rename_all = "lowercase")]
pub struct Operation {
#[serde(skip)]