Remove tagged enums

Signed-off-by: trivernis <trivernis@protonmail.com>
pull/4/head
trivernis 3 years ago
parent 4e2a348a13
commit 7c3b2a5051

@ -1,6 +1,6 @@
[package] [package]
name = "mediarepo-api" name = "mediarepo-api"
version = "0.13.0" version = "0.14.0"
edition = "2018" edition = "2018"
license = "gpl-3" license = "gpl-3"

@ -36,7 +36,6 @@ pub struct FindFilesRequest {
} }
#[derive(Clone, Debug, Serialize, Deserialize)] #[derive(Clone, Debug, Serialize, Deserialize)]
#[serde(tag = "filter_type", content = "filter")]
pub enum FilterExpression { pub enum FilterExpression {
OrExpression(Vec<TagQuery>), OrExpression(Vec<TagQuery>),
Query(TagQuery), Query(TagQuery),

Loading…
Cancel
Save