use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct DbUnauthorizedIdError {
#[serde(rename = "rc")]
pub rc: Rc,
}
impl DbUnauthorizedIdError {
pub fn new(rc: Rc) -> DbUnauthorizedIdError {
DbUnauthorizedIdError { rc }
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum Rc {
#[serde(rename = "UNAUTHORIZED_ID")]
UnauthorizedId,
}
impl Default for Rc {
fn default() -> Rc {
Self::UnauthorizedId
}
}