#[derive(serde::Serialize, Clone)] pub struct Category { pub id: i64, pub name: String, pub color: String, } #[derive(Debug)] pub struct Create { pub name: String, pub color: String, } #[derive(Debug)] pub struct Update { pub name: String, pub color: String, }