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