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