mangadex_api_schema_rust/v5/legacy_id_mapping.rs
use mangadex_api_types::LegacyMappingType;
use serde::Deserialize;
use uuid::Uuid;
#[derive(Debug, Deserialize)]
#[serde(rename_all = "camelCase")]
#[cfg_attr(feature = "serialize", derive(serde::Serialize))]
#[cfg_attr(feature = "specta", derive(specta::Type))]
pub struct LegacyMappingIdAttributes {
#[serde(rename = "type")]
pub type_: LegacyMappingType,
pub legacy_id: u32,
pub new_id: Uuid,
}