Change tagging of FilterExpression to adjacent

Signed-off-by: trivernis <trivernis@protonmail.com>
pull/4/head
trivernis 3 years ago
parent 59b014bc3f
commit 0534e543ac

@ -36,7 +36,7 @@ pub struct FindFilesRequest {
} }
#[derive(Clone, Debug, Serialize, Deserialize)] #[derive(Clone, Debug, Serialize, Deserialize)]
#[serde(tag = "filter_type")] #[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