Use snake_case for renaming enums.
This commit is contained in:
parent
10c871d5c9
commit
0835a08981
|
@ -4,7 +4,7 @@ use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
/// Action to take on hook exit.
|
/// Action to take on hook exit.
|
||||||
#[derive(Debug, Deserialize, Serialize)]
|
#[derive(Debug, Deserialize, Serialize)]
|
||||||
#[serde(rename_all = "lowercase")]
|
#[serde(rename_all = "snake_case")]
|
||||||
pub enum ExitAction {
|
pub enum ExitAction {
|
||||||
Continue,
|
Continue,
|
||||||
Stop,
|
Stop,
|
||||||
|
|
Loading…
Reference in New Issue