/*
* InternetData API
*
* The InternetData API. Please see https://docs.internetdata.io/api for more details.
*
* The version of the OpenAPI document: 2026.09.13
* Contact: dev@internetdata.io
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct DbNotFoundError {
#[serde(rename = "rc")]
pub rc: Rc,
}
impl DbNotFoundError {
pub fn new(rc: Rc) -> DbNotFoundError {
DbNotFoundError { rc }
}
}
///
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum Rc {
#[serde(rename = "DB_NOT_FOUND")]
DbNotFound,
}
impl Default for Rc {
fn default() -> Rc {
Self::DbNotFound
}
}