mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2025-10-28 21:36:08 +08:00
Fix CLI serializer (closes #1082)
This commit is contained in:
parent
a175b3b55f
commit
c9d7db066e
2 changed files with 4 additions and 0 deletions
|
|
@ -16,12 +16,15 @@ use super::cli::{Client, ServerCommands};
|
|||
|
||||
#[derive(Debug, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(tag = "type")]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub enum UpdateSettings {
|
||||
Delete {
|
||||
keys: Vec<String>,
|
||||
},
|
||||
Clear {
|
||||
prefix: String,
|
||||
#[serde(default)]
|
||||
filter: Option<String>,
|
||||
},
|
||||
Insert {
|
||||
prefix: Option<String>,
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ use serde::{Deserialize, Serialize};
|
|||
|
||||
#[derive(Debug, Serialize, Deserialize)]
|
||||
#[serde(tag = "type")]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub enum Report {
|
||||
Tls {
|
||||
id: String,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue