use serde::Deserialize; template_id!(UnlockConfig id); #[derive(Deserialize, Debug)] #[serde(rename_all = "PascalCase")] pub struct UnlockConfigTemplate { #[serde(rename = "ID")] pub id: UnlockConfigID, pub name: String, }