fix clippy part1

This commit is contained in:
Irevoire
2022-10-26 15:14:46 +02:00
committed by Clément Renault
parent 2ba5e3b519
commit 8ec3681cf8
6 changed files with 16 additions and 16 deletions

View File

@ -134,7 +134,7 @@ pub enum KindWithContent {
SnapshotCreation,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct IndexSwap {
pub indexes: (String, String),
@ -427,7 +427,7 @@ impl FromStr for Kind {
}
}
#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)]
#[derive(Debug, PartialEq, Eq, Clone, Serialize, Deserialize)]
pub enum Details {
DocumentAdditionOrUpdate { received_documents: u64, indexed_documents: Option<u64> },
SettingsUpdate { settings: Box<Settings<Unchecked>> },