summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <matthias.beyer@ifm.com>2022-08-18 15:07:39 +0200
committerMatthias Beyer <matthias.beyer@ifm.com>2022-08-18 15:40:40 +0200
commit8c5f43f82416bda3e5da64c3e8aefba0b0e67640 (patch)
tree587bb08055405cc5c1ca19b7b2598313ab8ea2fc
parent17d1ce7a45b21d7dadfbf9d7a80e05f1b26d459d (diff)
Fix clippy: download: Add derive for Eq
This fixes clippy::derive_partial_eq_without_eq Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
-rw-r--r--crates/common/download/src/download.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/common/download/src/download.rs b/crates/common/download/src/download.rs
index cc96f689..9b2f32fa 100644
--- a/crates/common/download/src/download.rs
+++ b/crates/common/download/src/download.rs
@@ -12,7 +12,7 @@ use std::{
time::Duration,
};
-#[derive(Debug, Clone, Deserialize, PartialEq, Serialize)]
+#[derive(Debug, Clone, Deserialize, Eq, PartialEq, Serialize)]
#[serde(rename_all = "camelCase")]
#[serde(deny_unknown_fields)]
pub struct DownloadInfo {
@@ -47,7 +47,7 @@ impl DownloadInfo {
}
}
-#[derive(Debug, Clone, Deserialize, PartialEq, Serialize)]
+#[derive(Debug, Clone, Deserialize, PartialEq, Eq, Serialize)]
#[serde(rename_all = "camelCase")]
#[serde(deny_unknown_fields)]
pub enum Auth {