1 2 3 4 5 6 7 8 9 10 11 12
use mangadex_api_types::LegacyMappingType;
use serde::Deserialize;
use uuid::Uuid;
#[derive(Debug, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct LegacyMappingIdAttributes {
#[serde(rename = "type")]
pub type_: LegacyMappingType,
pub legacy_id: u64,
pub new_id: Uuid,
}