diff --git a/src/types/common.rs b/src/types/common.rs index 6251f11..7ccefaa 100644 --- a/src/types/common.rs +++ b/src/types/common.rs @@ -253,9 +253,11 @@ pub enum ResponseClass { /// any. /// /// See -#[derive(Clone, Debug, Deserialize, PartialEq)] +#[derive(Clone, Copy, Debug, Default, Deserialize, PartialEq)] pub enum ResponseCode { + #[default] NoError, + ErrorAccessDenied, ErrorAccessModeSpecified, ErrorAccountDisabled,