Derive Eq and PartialEq for ExitAction.
This commit is contained in:
parent
54657adaf0
commit
599a4bcef2
|
@ -3,7 +3,7 @@
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
/// Action to take on hook exit.
|
/// Action to take on hook exit.
|
||||||
#[derive(Debug, Deserialize, Serialize)]
|
#[derive(Debug, Deserialize, Eq, PartialEq, Serialize)]
|
||||||
#[serde(rename_all = "snake_case")]
|
#[serde(rename_all = "snake_case")]
|
||||||
pub enum ExitAction {
|
pub enum ExitAction {
|
||||||
Continue,
|
Continue,
|
||||||
|
|
Loading…
Reference in New Issue