aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHristo Venev <hristo@venev.name>2019-09-30 16:07:41 +0300
committerHristo Venev <hristo@venev.name>2019-09-30 16:07:41 +0300
commit0e8f78d4a2c6ca7adcc1817d731075b4e888b26c (patch)
treefb90dd0c74f9164569a90b8ebd28e195e7fcf664 /src
parent3ee0ebe29e11e41710c01d8ef1bf5e6d049190c9 (diff)
Remove unneeded derives.
Diffstat (limited to 'src')
-rw-r--r--src/proto.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/proto.rs b/src/proto.rs
index e546b2f..9f9ea0a 100644
--- a/src/proto.rs
+++ b/src/proto.rs
@@ -160,7 +160,7 @@ impl Source {
}
}
-#[derive(serde_derive::Serialize, serde_derive::Deserialize, Clone, PartialEq, Eq, Debug)]
+#[derive(serde_derive::Serialize, serde_derive::Deserialize)]
struct SourceNextRepr {
#[serde(default)]
servers: Vec<Server>,
@@ -170,7 +170,7 @@ struct SourceNextRepr {
update_at: SystemTime,
}
-#[derive(serde_derive::Serialize, serde_derive::Deserialize, Clone, PartialEq, Eq, Debug)]
+#[derive(serde_derive::Serialize, serde_derive::Deserialize)]
struct SourceRepr {
#[serde(default)]
servers: Vec<Server>,