#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct AuthifierErrorOneOf12 {
#[serde(rename = "type")]
pub r#type: RHashType,
}
impl AuthifierErrorOneOf12 {
pub fn new(r#type: RHashType) -> AuthifierErrorOneOf12 {
AuthifierErrorOneOf12 {
r#type,
}
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum RHashType {
#[serde(rename = "ShortPassword")]
ShortPassword,
}
impl Default for RHashType {
fn default() -> RHashType {
Self::ShortPassword
}
}