From 7c3b2a5051a63d46d463f243e6233d4d35e947b8 Mon Sep 17 00:00:00 2001 From: trivernis Date: Tue, 7 Dec 2021 18:01:22 +0100 Subject: [PATCH] Remove tagged enums Signed-off-by: trivernis --- mediarepo-api/Cargo.toml | 2 +- mediarepo-api/src/types/files.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/mediarepo-api/Cargo.toml b/mediarepo-api/Cargo.toml index 8e684e1..604b24b 100644 --- a/mediarepo-api/Cargo.toml +++ b/mediarepo-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mediarepo-api" -version = "0.13.0" +version = "0.14.0" edition = "2018" license = "gpl-3" diff --git a/mediarepo-api/src/types/files.rs b/mediarepo-api/src/types/files.rs index 66110f3..14a245f 100644 --- a/mediarepo-api/src/types/files.rs +++ b/mediarepo-api/src/types/files.rs @@ -36,7 +36,6 @@ pub struct FindFilesRequest { } #[derive(Clone, Debug, Serialize, Deserialize)] -#[serde(tag = "filter_type", content = "filter")] pub enum FilterExpression { OrExpression(Vec), Query(TagQuery),