1 2 3 4 5 6 7 8
use serde::{Deserialize, Serialize}; #[derive(Debug, Clone, Copy, Serialize, Deserialize, Hash, PartialEq, Eq)] #[serde(rename_all = "snake_case")] pub enum ResponseType { Collection, Entity, }