internetdata 1.1.1

The official Rust client library for the InternetData API: download and verify the published IP intelligence databases.
Documentation
/*
 * InternetData API
 *
 * The InternetData API. Please see https://docs.internetdata.io/api for more details.
 *
 * The version of the OpenAPI document: 2026.09.05
 * Contact: dev@internetdata.io
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
#[serde(untagged)]
pub enum DatabaseDownload400Response {
    DbInvalidFormatError(Box<models::DbInvalidFormatError>),
    DbInvalidIdError(Box<models::DbInvalidIdError>),
}

impl Default for DatabaseDownload400Response {
    fn default() -> Self {
        Self::DbInvalidFormatError(Default::default())
    }
}
///
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum Rc {
    #[serde(rename = "INVALID_ID")]
    InvalidId,
}

impl Default for Rc {
    fn default() -> Rc {
        Self::InvalidId
    }
}