Use snake_case for renaming enums.

This commit is contained in:
Bauke 2022-10-28 14:37:42 +02:00
parent 10c871d5c9
commit 0835a08981
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ use serde::{Deserialize, Serialize};
/// Action to take on hook exit.
#[derive(Debug, Deserialize, Serialize)]
#[serde(rename_all = "lowercase")]
#[serde(rename_all = "snake_case")]
pub enum ExitAction {
Continue,
Stop,