Add the ExitAction enum.
This commit is contained in:
parent
4d62527e23
commit
1eecfa7146
|
@ -0,0 +1,11 @@
|
|||
//! Action to take on hook exit.
|
||||
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
/// Action to take on hook exit.
|
||||
#[derive(Debug, Deserialize, Serialize)]
|
||||
#[serde(rename_all = "lowercase")]
|
||||
pub enum ExitAction {
|
||||
Continue,
|
||||
Stop,
|
||||
}
|
|
@ -7,9 +7,11 @@ use {
|
|||
serde::{Deserialize, Serialize},
|
||||
};
|
||||
|
||||
mod exit_action;
|
||||
mod general;
|
||||
mod task;
|
||||
|
||||
pub use exit_action::*;
|
||||
pub use general::*;
|
||||
pub use task::*;
|
||||
|
||||
|
|
Loading…
Reference in New Issue